bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/27598] WeakHashMap can fail with concurrent readers


From: audriusa at bluewin dot ch
Subject: [Bug classpath/27598] WeakHashMap can fail with concurrent readers
Date: 30 Oct 2006 20:51:04 -0000


------- Comment #2 from audriusa at bluewin dot ch  2006-10-30 20:51 -------
Created an attachment (id=12515)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12515&action=view)
The test case that passes

I wrote a simple test case, where 100 threads are reading from the same weak
hash map, and the size of map is gradually decreasing when the entries are gc
collected. Both in Sun's and ours implementation the test seems passing (either
null or correct entry is returned). Hence I cannot reproduce this bug and would
suggest to close this as unreproducible.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27598





reply via email to

[Prev in Thread] Current Thread [Next in Thread]