test/hotspot/jtreg/gc/shenandoah/jni/TestPinnedGarbage.java
changeset 55606 78a2b1bb15cf
parent 55587 4644b3155fce
child 58679 9c3209ff7550
equal deleted inserted replaced
55605:91050b1e0fe8 55606:78a2b1bb15cf
    24 /* @test TestPinnedGarbage
    24 /* @test TestPinnedGarbage
    25  * @summary Test that garbage in the pinned region does not crash VM
    25  * @summary Test that garbage in the pinned region does not crash VM
    26  * @key gc
    26  * @key gc
    27  * @requires vm.gc.Shenandoah & !vm.graal.enabled
    27  * @requires vm.gc.Shenandoah & !vm.graal.enabled
    28  *
    28  *
    29  * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx512m -XX:+ShenandoahVerify -XX:ShenandoahGCMode=passive          -XX:+ShenandoahDegeneratedGC TestPinnedGarbage
    29  * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx512m
    30  * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx512m -XX:+ShenandoahVerify -XX:ShenandoahGCMode=passive          -XX:-ShenandoahDegeneratedGC TestPinnedGarbage
    30  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
       
    31  *      -XX:+ShenandoahVerify -XX:+ShenandoahDegeneratedGC
       
    32  *      TestPinnedGarbage
    31  *
    33  *
    32  * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx512m                       -XX:ShenandoahGCHeuristics=aggressive TestPinnedGarbage
    34  * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx512m
       
    35  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
       
    36  *      -XX:+ShenandoahVerify -XX:-ShenandoahDegeneratedGC
       
    37  *      TestPinnedGarbage
       
    38  */
       
    39 
       
    40 /* @test TestPinnedGarbage
       
    41  * @summary Test that garbage in the pinned region does not crash VM
       
    42  * @key gc
       
    43  * @requires vm.gc.Shenandoah & !vm.graal.enabled
    33  *
    44  *
    34  * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx512m -XX:+ShenandoahVerify                                       TestPinnedGarbage
    45  * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx512m
       
    46  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
       
    47  *      TestPinnedGarbage
       
    48  *
       
    49  * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx512m
       
    50  *      -XX:+UseShenandoahGC
       
    51  *      -XX:+ShenandoahVerify
       
    52  *      TestPinnedGarbage
    35  */
    53  */
    36 
    54 
    37 import java.util.Arrays;
    55 import java.util.Arrays;
    38 import java.util.concurrent.*;
    56 import java.util.concurrent.*;
    39 
    57