glassfish
  1. glassfish
  2. GLASSFISH-2121

thread-unsafe null-check idiom in com.sun.enterprise.resource.RecoveryResourceRegistry

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.1pe
    • Fix Version/s: not determined
    • Component/s: jca
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      2,121

      Description

      Visibility and race condition problems:

      public static RecoveryResourceRegistry getInstance() {
      if (rrr == null)

      { rrr = new RecoveryResourceRegistry(); }

      return rrr;
      }

        Activity

        Hide
        km added a comment -

        Hmmm. Submitter should have checked where this class belongs.

        Show
        km added a comment - Hmmm. Submitter should have checked where this class belongs.
        Hide
        binod added a comment -

        The method is executed just once during the startup. It is meant only for single
        threaded uses.

        Show
        binod added a comment - The method is executed just once during the startup. It is meant only for single threaded uses.
        Hide
        gfbugbridge added a comment -

        <BT6515532>

        Show
        gfbugbridge added a comment - <BT6515532>
        Hide
        gfbugbridge added a comment -

        <BT6543318>

        Show
        gfbugbridge added a comment - <BT6543318>
        Hide
        kshitiz_saxena added a comment -

        Assigning it to myself

        Show
        kshitiz_saxena added a comment - Assigning it to myself
        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

          People

          • Assignee:
            kshitiz_saxena
            Reporter:
            llc
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: