test/jdk/jdk/jfr/event/gc/detailed/TestStressBigAllocationGCEventsWithG1.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
--- a/test/jdk/jdk/jfr/event/gc/detailed/TestStressBigAllocationGCEventsWithG1.java	Fri Jul 20 09:33:49 2018 +0200
+++ b/test/jdk/jdk/jfr/event/gc/detailed/TestStressBigAllocationGCEventsWithG1.java	Fri Jul 20 09:46:57 2018 +0200
@@ -32,6 +32,7 @@
  * fits exactly to one region, if not - G1 will allocate another almost empty
  * region as a continue of humongous. Thus we will exhaust memory very fast and
  * test will fail with OOME.
+ * @requires vm.hasJFR
  * @requires vm.gc == "null" | vm.gc == "G1"
  * @library /test/lib /test/jdk
  * @run main/othervm -XX:+UseG1GC -XX:MaxNewSize=5m -Xmx256m -XX:G1HeapRegionSize=1048576 jdk.jfr.event.gc.detailed.TestStressBigAllocationGCEventsWithG1 1048544