< prev index next >

test/jdk/jdk/jfr/jvm/TestUnsupportedVM.java

Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch


  47 import jdk.jfr.Recording;
  48 import jdk.jfr.RecordingState;
  49 import jdk.jfr.SettingControl;
  50 import jdk.jfr.ValueDescriptor;
  51 import jdk.jfr.consumer.RecordedClass;
  52 import jdk.jfr.consumer.RecordedEvent;
  53 import jdk.jfr.consumer.RecordedFrame;
  54 import jdk.jfr.consumer.RecordedMethod;
  55 import jdk.jfr.consumer.RecordedObject;
  56 import jdk.jfr.consumer.RecordedStackTrace;
  57 import jdk.jfr.consumer.RecordedThread;
  58 import jdk.jfr.consumer.RecordedThreadGroup;
  59 import jdk.jfr.consumer.RecordingFile;
  60 import jdk.management.jfr.ConfigurationInfo;
  61 import jdk.management.jfr.EventTypeInfo;
  62 import jdk.management.jfr.FlightRecorderMXBean;
  63 import jdk.management.jfr.RecordingInfo;
  64 import jdk.management.jfr.SettingDescriptorInfo;
  65 import jdk.test.lib.Utils;
  66 
  67 /*
  68  * @test TestUnsupportedVM
  69  * @key jfr

  70  *
  71  * @modules jdk.jfr
  72  *          jdk.management.jfr
  73  *
  74  * @library /test/lib
  75  * @run main/othervm -Dprepare-recording=true jdk.jfr.jvm.TestUnsupportedVM
  76  * @run main/othervm -Djfr.unsupported.vm=true jdk.jfr.jvm.TestUnsupportedVM
  77  */
  78 public class TestUnsupportedVM {
  79 
  80     private static Path RECORDING_FILE = Paths.get("recording.jfr");
  81     private static Class<?> [] APIClasses = {
  82             AnnotationElement.class,
  83             Configuration.class,
  84             ConfigurationInfo.class,
  85             Event.class,
  86             EventFactory.class,
  87             EventSettings.class,
  88             EventType.class,
  89             EventTypeInfo.class,




  47 import jdk.jfr.Recording;
  48 import jdk.jfr.RecordingState;
  49 import jdk.jfr.SettingControl;
  50 import jdk.jfr.ValueDescriptor;
  51 import jdk.jfr.consumer.RecordedClass;
  52 import jdk.jfr.consumer.RecordedEvent;
  53 import jdk.jfr.consumer.RecordedFrame;
  54 import jdk.jfr.consumer.RecordedMethod;
  55 import jdk.jfr.consumer.RecordedObject;
  56 import jdk.jfr.consumer.RecordedStackTrace;
  57 import jdk.jfr.consumer.RecordedThread;
  58 import jdk.jfr.consumer.RecordedThreadGroup;
  59 import jdk.jfr.consumer.RecordingFile;
  60 import jdk.management.jfr.ConfigurationInfo;
  61 import jdk.management.jfr.EventTypeInfo;
  62 import jdk.management.jfr.FlightRecorderMXBean;
  63 import jdk.management.jfr.RecordingInfo;
  64 import jdk.management.jfr.SettingDescriptorInfo;
  65 import jdk.test.lib.Utils;
  66 
  67 /**
  68  * @test TestUnsupportedVM
  69  * @key jfr
  70  * @requires vm.hasJFR
  71  *
  72  * @modules jdk.jfr
  73  *          jdk.management.jfr
  74  *
  75  * @library /test/lib
  76  * @run main/othervm -Dprepare-recording=true jdk.jfr.jvm.TestUnsupportedVM
  77  * @run main/othervm -Djfr.unsupported.vm=true jdk.jfr.jvm.TestUnsupportedVM
  78  */
  79 public class TestUnsupportedVM {
  80 
  81     private static Path RECORDING_FILE = Paths.get("recording.jfr");
  82     private static Class<?> [] APIClasses = {
  83             AnnotationElement.class,
  84             Configuration.class,
  85             ConfigurationInfo.class,
  86             Event.class,
  87             EventFactory.class,
  88             EventSettings.class,
  89             EventType.class,
  90             EventTypeInfo.class,


< prev index next >