equal
deleted
inserted
replaced
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, |