test/hotspot/jtreg/gc/shenandoah/TestRefprocSanity.java
changeset 55606 78a2b1bb15cf
parent 55594 66a748c4f3ff
child 58679 9c3209ff7550
equal deleted inserted replaced
55605:91050b1e0fe8 55606:78a2b1bb15cf
    25  * @test TestRefprocSanity
    25  * @test TestRefprocSanity
    26  * @summary Test that null references/referents work fine
    26  * @summary Test that null references/referents work fine
    27  * @key gc
    27  * @key gc
    28  * @requires vm.gc.Shenandoah & !vm.graal.enabled
    28  * @requires vm.gc.Shenandoah & !vm.graal.enabled
    29  *
    29  *
    30  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx1g -Xms1g                                                                                            TestRefprocSanity
    30  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
    31  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx1g -Xms1g -XX:+ShenandoahVerify                                                                      TestRefprocSanity
    31  *      -XX:+UseShenandoahGC
    32  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx1g -Xms1g                       -XX:ShenandoahGCHeuristics=aggressive                                TestRefprocSanity
    32  *      -XX:+ShenandoahVerify
    33  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx1g -Xms1g -XX:+ShenandoahVerify -XX:ShenandoahGCMode=traversal                                       TestRefprocSanity
    33  *      TestRefprocSanity
    34  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx1g -Xms1g                       -XX:ShenandoahGCMode=traversal                                       TestRefprocSanity
    34  *
    35  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx1g -Xms1g                       -XX:ShenandoahGCMode=traversal -XX:ShenandoahGCHeuristics=aggressive TestRefprocSanity
    35  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
    36  *      -XX:+UseShenandoahGC
       
    37  *      TestRefprocSanity
       
    38  *
       
    39  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
    40  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
       
    41  *      TestRefprocSanity
       
    42  */
       
    43 
       
    44 /*
       
    45  * @test TestRefprocSanity
       
    46  * @summary Test that null references/referents work fine
       
    47  * @key gc
       
    48  * @requires vm.gc.Shenandoah & !vm.graal.enabled
       
    49  *
       
    50  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
    51  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=traversal
       
    52  *      -XX:+ShenandoahVerify
       
    53  *      TestRefprocSanity
       
    54  *
       
    55  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
    56  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=traversal
       
    57  *      TestRefprocSanity
       
    58  *
       
    59  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
       
    60  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=traversal -XX:ShenandoahGCHeuristics=aggressive
       
    61  *      TestRefprocSanity
    36  */
    62  */
    37 
    63 
    38 import java.lang.ref.*;
    64 import java.lang.ref.*;
    39 
    65 
    40 public class TestRefprocSanity {
    66 public class TestRefprocSanity {