< prev index next >

test/jdk/jdk/jfr/event/runtime/TestClassUnloadEvent.java

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

@@ -35,14 +35,15 @@
 import jdk.test.lib.Asserts;
 import jdk.test.lib.jfr.EventNames;
 import jdk.test.lib.jfr.Events;
 import jdk.test.lib.jfr.TestClassLoader;
 
-/*
+/**
  * @test
  * @summary The test verifies that a class unload event is created when class is unloaded
  * @key jfr
+ * @requires vm.hasJFR
  * @library /test/lib /test/jdk
  * @build jdk.jfr.event.runtime.TestClasses
  * @run main/othervm -Xlog:class+unload -Xlog:gc -Xmx16m jdk.jfr.event.runtime.TestClassUnloadEvent
  */
 
< prev index next >