• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Incomplete
  • DSO:L1
  • asi
  • Reporter: asi
  • January 30, 2007
  • 0
  • Watchers: 0
  • January 30, 2007
  • January 30, 2007

Description

This is failing in ConcurrentHashMapLoadTest in 2.2.1. Because the implementation of the ConcurrentHashMap.size() and empty() methods do not have the same memory barrier as the remove() method, it may not wait until the applicator has finished applying ; thus returning the wrong results and failing the assertion.

Attached: log file of the test.

Comments

Sean Nguyen 2007-01-30

The same issue has been tracked in LKC project (LKC-3293)