jdk/test/java/util/concurrent/ConcurrentHashMap/MapLoops.java
changeset 4347 ab0a9f495844
parent 2 90ce3da70b43
child 5506 202f599c92aa
equal deleted inserted replaced
4346:aee26e5a53b0 4347:ab0a9f495844
    32  */
    32  */
    33 
    33 
    34 /*
    34 /*
    35  * @test
    35  * @test
    36  * @bug 4486658
    36  * @bug 4486658
    37  * @compile -source 1.5 MapLoops.java
    37  * @compile MapLoops.java
    38  * @run main/timeout=1600 MapLoops
    38  * @run main/timeout=1600 MapLoops
    39  * @summary Exercise multithreaded maps, by default ConcurrentHashMap.
    39  * @summary Exercise multithreaded maps, by default ConcurrentHashMap.
    40  * Multithreaded hash table test.  Each thread does a random walk
    40  * Multithreaded hash table test.  Each thread does a random walk
    41  * though elements of "key" array. On each iteration, it checks if
    41  * though elements of "key" array. On each iteration, it checks if
    42  * table includes key.  If absent, with probability pinsert it
    42  * table includes key.  If absent, with probability pinsert it