< prev index next >
test/jdk/jdk/jfr/event/compiler/TestCodeSweeper.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 49,61 ****
*
* NOTE! The test is usually able to trigger the events but not always. If an
* event is received, the event is verified. If an event is missing, we do NOT
* fail.
*/
! /*
* @test TestCodeSweeper
* @key jfr
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:-SegmentedCodeCache -XX:+WhiteBoxAPI jdk.jfr.event.compiler.TestCodeSweeper
--- 49,62 ----
*
* NOTE! The test is usually able to trigger the events but not always. If an
* event is received, the event is verified. If an event is missing, we do NOT
* fail.
*/
! /**
* @test TestCodeSweeper
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:-SegmentedCodeCache -XX:+WhiteBoxAPI jdk.jfr.event.compiler.TestCodeSweeper
< prev index next >