8386372: Add ConcurrentSkipListMap to map stress test

Reviewed-by: vklang
This commit is contained in:
Oli Gillespie 2026-06-23 09:24:30 +00:00 committed by Viktor Klang
parent 6f81f7aa7e
commit 96a1a9d2f5

View File

@ -34,7 +34,7 @@
/*
* @test
* @bug 4486658
* @summary Exercise multithreaded maps, by default ConcurrentHashMap.
* @summary Exercise multithreaded maps.
* Multithreaded hash table test. Each thread does a random walk
* though elements of "key" array. On each iteration, it checks if
* table includes key. If absent, with probability pinsert it
@ -42,7 +42,8 @@
* it. (pinsert and premove are expressed as percentages to simplify
* parsing from command line.)
* @library /test/lib
* @run main/timeout=1600 MapLoops
* @run main/timeout=1600 MapLoops java.util.concurrent.ConcurrentHashMap
* @run main/timeout=1600 MapLoops java.util.concurrent.ConcurrentSkipListMap
*/
import static java.util.concurrent.TimeUnit.MILLISECONDS;