< prev index next >

test/jdk/jdk/jfr/event/gc/configuration/TestGCHeapConfigurationEventWithHeapBasedOops.java

Print this page
rev 57430 : [mq]: 8235907-fix-tests-using-paralleloldgc


  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 TestGCHeapConfigurationEventWith32BitOops
  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  * @build sun.hotspot.WhiteBox
  40  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  41  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseFastUnorderedTimeStamps -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseCompressedOops -Xmx31g jdk.jfr.event.gc.configuration.TestGCHeapConfigurationEventWithHeapBasedOops
  42  */
  43 
  44 /* See the shell script wrapper for the flags used when invoking the JVM */
  45 public class TestGCHeapConfigurationEventWithHeapBasedOops extends GCHeapConfigurationEventTester {
  46     public static void main(String[] args) throws Exception {
  47         GCHeapConfigurationEventTester t = new TestGCHeapConfigurationEventWithHeapBasedOops();
  48         t.run();
  49     }
  50 
  51     @Override
  52     protected EventVerifier createVerifier(RecordedEvent e) {
  53         return new HeapBasedOopsVerifier(e);
  54     }
  55 }
  56 
  57 class HeapBasedOopsVerifier extends GCHeapConfigurationEventVerifier {
  58     public HeapBasedOopsVerifier(RecordedEvent e) {
  59         super(e);
  60     }
  61 


  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 TestGCHeapConfigurationEventWith32BitOops
  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  * @build sun.hotspot.WhiteBox
  40  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  41  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseFastUnorderedTimeStamps -XX:+UseParallelGC -XX:+UseCompressedOops -Xmx31g jdk.jfr.event.gc.configuration.TestGCHeapConfigurationEventWithHeapBasedOops
  42  */
  43 
  44 /* See the shell script wrapper for the flags used when invoking the JVM */
  45 public class TestGCHeapConfigurationEventWithHeapBasedOops extends GCHeapConfigurationEventTester {
  46     public static void main(String[] args) throws Exception {
  47         GCHeapConfigurationEventTester t = new TestGCHeapConfigurationEventWithHeapBasedOops();
  48         t.run();
  49     }
  50 
  51     @Override
  52     protected EventVerifier createVerifier(RecordedEvent e) {
  53         return new HeapBasedOopsVerifier(e);
  54     }
  55 }
  56 
  57 class HeapBasedOopsVerifier extends GCHeapConfigurationEventVerifier {
  58     public HeapBasedOopsVerifier(RecordedEvent e) {
  59         super(e);
  60     }
  61 
< prev index next >