weixin_39603217
weixin_39603217
2020-12-09 12:43

thread-unsafe null-check idiom in TrashCleaner

com.sun.enterprise.ee.synchronization.cleaner.TrashCleaner

Visibility and race condition isssues:

static TrashCleaner getInstance(File trash) { if (_instance == null)

{ _instance = new TrashCleaner(trash); }

return _instance; }

Environment

Operating System: All Platform: All

Affected Versions

[9.1pe]

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

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

10条回答

  • 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 ne110415 said: accepted

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

    Commented ne110415 said: Checking in synchronization/src/java/com/sun/enterprise/ee/synchronization/cleaner/TrashClea ner.java; /cvs/glassfish/admin- ee/synchronization/src/java/com/sun/enterprise/ee/synchronization/cleaner/TrashC leaner.java,v <-- TrashCleaner.java new revision: 1.2; previous revision: 1.1 done

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

    Commented Was assigned to ne110415

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

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

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

    Commented Reported by llc

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

    Commented Marked as fixed on Thursday, May 17th 2007, 4:05:53 am

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

    Commented km said: ...

    点赞 评论 复制链接分享

相关推荐