< prev index next >

test/hotspot/jtreg/compiler/c2/aarch64/TestVolatiles.java

Print this page
rev 58687 : Shenandoah: New incremental-update mode

*** 36,46 **** * TestUnsafeVolatileCAE, * TestUnsafeVolatileGAS} * and <testtype> in {G1, * Serial, * Parallel, ! * Shenandoah} */ package compiler.c2.aarch64; --- 36,47 ---- * TestUnsafeVolatileCAE, * TestUnsafeVolatileGAS} * and <testtype> in {G1, * Serial, * Parallel, ! * Shenandoah, ! * ShenandoahIU} */ package compiler.c2.aarch64;
*** 91,100 **** --- 92,108 ---- argcount = 10; procArgs = new String[argcount]; procArgs[argcount - 3] = "-XX:+UnlockExperimentalVMOptions"; procArgs[argcount - 2] = "-XX:+UseShenandoahGC"; break; + case "ShenandoahIU": + argcount = 11; + procArgs = new String[argcount]; + procArgs[argcount - 4] = "-XX:+UnlockExperimentalVMOptions"; + procArgs[argcount - 3] = "-XX:+UseShenandoahGC"; + procArgs[argcount - 2] = "-XX:ShenandoahGCMode=iu"; + break; default: throw new RuntimeException("unexpected test type " + testType); } // fill in arguments common to all cases
*** 321,330 **** --- 329,339 ---- "dmb ish", "strb" }; break; case "Shenandoah": + case "ShenandoahIU": // Shenandoah generates normal object graphs for // volatile stores matches = new String[] { "membar_release \\(elided\\)", useCompressedOops ? "stlrw?" : "stlr",
*** 399,408 **** --- 408,418 ---- "ret" }; break; case "Shenandoah": + case "ShenandoahIU": // Shenandoah generates normal object graphs for // volatile stores matches = new String[] { "membar_release", "dmb ish",
*** 488,497 **** --- 498,508 ---- "dmb ish", "strb" }; break; case "Shenandoah": + case "ShenandoahIU": // For volatile CAS, Shenanodoah generates normal // graphs with a shenandoah-specific cmpxchg matches = new String[] { "membar_release \\(elided\\)", useCompressedOops ? "cmpxchgw?_acq_shenandoah" : "cmpxchg_acq_shenandoah",
*** 565,574 **** --- 576,586 ---- "dmb ish", "ret" }; break; case "Shenandoah": + case "ShenandoahIU": // For volatile CAS, Shenanodoah generates normal // graphs with a shenandoah-specific cmpxchg matches = new String[] { "membar_release", "dmb ish",
*** 670,679 **** --- 682,692 ---- "dmb ish", "strb" }; break; case "Shenandoah": + case "ShenandoahIU": // For volatile CAS, Shenanodoah generates normal // graphs with a shenandoah-specific cmpxchg matches = new String[] { "membar_release \\(elided\\)", useCompressedOops ? "cmpxchgw?_acq_shenandoah" : "cmpxchg_acq_shenandoah",
*** 747,756 **** --- 760,770 ---- "dmb ish", "ret" }; break; case "Shenandoah": + case "ShenandoahIU": // For volatile CAS, Shenanodoah generates normal // graphs with a shenandoah-specific cmpxchg matches = new String[] { "membar_release", "dmb ish",
*** 832,841 **** --- 846,856 ---- "dmb ish", "strb" }; break; case "Shenandoah": + case "ShenandoahIU": matches = new String[] { "membar_release \\(elided\\)", useCompressedOops ? "atomic_xchgw?_acq" : "atomic_xchg_acq", "membar_acquire \\(elided\\)", "ret"
*** 907,916 **** --- 922,932 ---- "dmb ish", "ret" }; break; case "Shenandoah": + case "ShenandoahIU": matches = new String[] { "membar_release", "dmb ish", useCompressedOops ? "atomic_xchgw? " : "atomic_xchg ", "membar_acquire",
< prev index next >