test/jdk/jdk/jfr/event/compiler/TestAllocOutsideTLAB.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
child 51991 ad00713a0562
--- a/test/jdk/jdk/jfr/event/compiler/TestAllocOutsideTLAB.java	Fri Jul 20 09:33:49 2018 +0200
+++ b/test/jdk/jdk/jfr/event/compiler/TestAllocOutsideTLAB.java	Fri Jul 20 09:46:57 2018 +0200
@@ -36,10 +36,11 @@
 import jdk.test.lib.jfr.EventNames;
 import jdk.test.lib.jfr.Events;
 
-/*
+/**
  * @test
  * @summary Test that when an object is allocated outside a TLAB an event will be triggered.
  * @key jfr
+ * @requires vm.hasJFR
  * @library /test/lib
  * @run main/othervm -XX:+UseTLAB -XX:-FastTLABRefill -XX:TLABSize=90k -XX:-ResizeTLAB -XX:TLABRefillWasteFraction=256 jdk.jfr.event.compiler.TestAllocOutsideTLAB
  * @run main/othervm -XX:+UseTLAB -XX:-FastTLABRefill -XX:TLABSize=90k -XX:-ResizeTLAB -XX:TLABRefillWasteFraction=256 jdk.jfr.event.compiler.TestAllocOutsideTLAB