weixin_39603217
weixin_39603217
2020-12-09 14:37

thread-unsafe null-check idiom in LBDeregistrationUtil

com.sun.enterprise.management.support.LBDeregistrationUtil

Visibility and race-condition problems:

public static LBDeregistrationUtil getInstance(MBeanServer mbs)

{ if (mUtil == null) mUtil = new LBDeregistrationUtil(mbs); return mUtil; }

Environment

Operating System: All Platform: All

Affected Versions

[9.1pe]

该提问来源于开源项目:eclipse-ee4j/glassfish

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

12条回答

  • weixin_39603217 weixin_39603217 5月前
    • Issue Imported From: https://github.com/javaee/glassfish/issues/2137
    • Original Issue Raised By:
    • Original Issue Assigned To:
    • Original Issue Closed By:
    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented km said: amx.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented gfbugbridge said:

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented sridatta said: will be fixed for FCS.Downgrading to a P3.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented llc said: waiting for code review

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented llc said: code reviewed. As I'll be out of town, assigning to Nandini, and passing the fix along, which appears to work fine...can be tested as part of some other checkin.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented ne110415 said: No hurry for this low priority bug. I think this can wait till you return.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented llc said: MB2:/gf/build/glassfish/admin/mbeanapi-impl lloyd$ cvs commit src/java/com/sun/enterprise/ management/support/LBDeregistrationUtil.java Checking in src/java/com/sun/enterprise/management/support/LBDeregistrationUtil.java; /cvs/glassfish/admin/mbeanapi-impl/src/java/com/sun/enterprise/management/support/ LBDeregistrationUtil.java,v <-- LBDeregistrationUtil.java new revision: 1.7; previous revision: 1.6 done

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Was assigned to llc

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented This issue was imported from java.net JIRA GLASSFISH-2137

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Reported by llc

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Marked as fixed on Thursday, May 17th 2007, 4:06:51 am

    点赞 评论 复制链接分享

相关推荐