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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated: