19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package jdk.jfr.event.gc.configuration;
27
28 import jdk.jfr.consumer.RecordedEvent;
29 import jdk.test.lib.jfr.EventVerifier;
30
31 /*
32 * @test TestGCHeapConfigurationEventWithZeroBasedOops
33 * @key jfr
34 * @requires vm.hasJFR
35 * @requires vm.gc == "Parallel" | vm.gc == null
36 * @requires os.family == "linux" | os.family == "windows"
37 * @requires sun.arch.data.model == "64"
38 * @library /test/lib /test/jdk
39 * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseFastUnorderedTimeStamps -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseCompressedOops -Xmx4g jdk.jfr.event.gc.configuration.TestGCHeapConfigurationEventWithZeroBasedOops
40 */
41
42 /* See the shell script wrapper for the flags used when invoking the JVM */
43 public class TestGCHeapConfigurationEventWithZeroBasedOops extends GCHeapConfigurationEventTester {
44 public static void main(String[] args) throws Exception {
45 GCHeapConfigurationEventTester t = new TestGCHeapConfigurationEventWithZeroBasedOops();
46 t.run();
47 }
48
49 @Override
50 protected EventVerifier createVerifier(RecordedEvent e) {
51 return new ZeroBasedOopsVerifier(e);
52 }
53 }
54
55 class ZeroBasedOopsVerifier extends GCHeapConfigurationEventVerifier {
56 public ZeroBasedOopsVerifier(RecordedEvent e) {
57 super(e);
58 }
59
|
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package jdk.jfr.event.gc.configuration;
27
28 import jdk.jfr.consumer.RecordedEvent;
29 import jdk.test.lib.jfr.EventVerifier;
30
31 /*
32 * @test TestGCHeapConfigurationEventWithZeroBasedOops
33 * @key jfr
34 * @requires vm.hasJFR
35 * @requires vm.gc == "Parallel" | vm.gc == null
36 * @requires os.family == "linux" | os.family == "windows"
37 * @requires sun.arch.data.model == "64"
38 * @library /test/lib /test/jdk
39 * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseFastUnorderedTimeStamps -XX:+UseParallelGC -XX:+UseCompressedOops -Xmx4g jdk.jfr.event.gc.configuration.TestGCHeapConfigurationEventWithZeroBasedOops
40 */
41
42 /* See the shell script wrapper for the flags used when invoking the JVM */
43 public class TestGCHeapConfigurationEventWithZeroBasedOops extends GCHeapConfigurationEventTester {
44 public static void main(String[] args) throws Exception {
45 GCHeapConfigurationEventTester t = new TestGCHeapConfigurationEventWithZeroBasedOops();
46 t.run();
47 }
48
49 @Override
50 protected EventVerifier createVerifier(RecordedEvent e) {
51 return new ZeroBasedOopsVerifier(e);
52 }
53 }
54
55 class ZeroBasedOopsVerifier extends GCHeapConfigurationEventVerifier {
56 public ZeroBasedOopsVerifier(RecordedEvent e) {
57 super(e);
58 }
59
|