test/jdk/jdk/jfr/event/gc/configuration/TestGCHeapConfigurationEventWithZeroBasedOops.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
25 |
25 |
26 package jdk.jfr.event.gc.configuration; |
26 package jdk.jfr.event.gc.configuration; |
27 |
27 |
28 import jdk.jfr.consumer.RecordedEvent; |
28 import jdk.jfr.consumer.RecordedEvent; |
29 import jdk.test.lib.jfr.EventVerifier; |
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 */ |
30 |
41 |
31 /* See the shell script wrapper for the flags used when invoking the JVM */ |
42 /* See the shell script wrapper for the flags used when invoking the JVM */ |
32 public class TestGCHeapConfigurationEventWithZeroBasedOops extends GCHeapConfigurationEventTester { |
43 public class TestGCHeapConfigurationEventWithZeroBasedOops extends GCHeapConfigurationEventTester { |
33 public static void main(String[] args) throws Exception { |
44 public static void main(String[] args) throws Exception { |
34 GCHeapConfigurationEventTester t = new TestGCHeapConfigurationEventWithZeroBasedOops(); |
45 GCHeapConfigurationEventTester t = new TestGCHeapConfigurationEventWithZeroBasedOops(); |