test/hotspot/jtreg/gc/shenandoah/options/TestClassUnloadingArguments.java
changeset 59296 9186be5c78ba
parent 54777 206afa6372ae
equal deleted inserted replaced
59295:8b6cc0bb93d0 59296:9186be5c78ba
     1 /*
     1 /*
     2  * Copyright (c) 2018, Red Hat, Inc. All rights reserved.
     2  * Copyright (c) 2018, 2019, Red Hat, Inc. All rights reserved.
     3  *
     3  *
     4  * This code is free software; you can redistribute it and/or modify it
     4  * This code is free software; you can redistribute it and/or modify it
     5  * under the terms of the GNU General Public License version 2 only, as
     5  * under the terms of the GNU General Public License version 2 only, as
     6  * published by the Free Software Foundation.
     6  * published by the Free Software Foundation.
     7  *
     7  *
    79                 "-XX:+ClassUnloadingWithConcurrentMark");
    79                 "-XX:+ClassUnloadingWithConcurrentMark");
    80     }
    80     }
    81 
    81 
    82     public static void testShenandoah() throws Exception {
    82     public static void testShenandoah() throws Exception {
    83         testWith("Shenandoah GC should have class unloading enabled",
    83         testWith("Shenandoah GC should have class unloading enabled",
    84                 true, false,
    84                 true, true,
    85                 "-XX:+UnlockExperimentalVMOptions",
    85                 "-XX:+UnlockExperimentalVMOptions",
    86                 "-XX:+UseShenandoahGC");
    86                 "-XX:+UseShenandoahGC");
    87 
    87 
    88         testWith("Shenandoah GC should disable everything",
    88         testWith("Shenandoah GC should disable everything",
    89                 false, false,
    89                 false, false,