< prev index next >
test/jdk/jdk/jfr/event/gc/detailed/TestPromotionEventWithG1.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
@@ -22,14 +22,15 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.jfr.event.gc.detailed;
-/*
+/**
* @test
* @key jfr
* @summary Test that events are created when an object is aged or promoted during a GC and the copying of the object requires a new PLAB or direct heap allocation
+ * @requires vm.hasJFR
*
* @requires (vm.gc == "G1" | vm.gc == null)
* & vm.opt.ExplicitGCInvokesConcurrent != true
* @library /test/lib /test/jdk
* @run main/othervm -Xmx32m -Xms32m -Xmn12m -XX:+UseG1GC -XX:-UseStringDeduplication -XX:MaxTenuringThreshold=5 -XX:InitialTenuringThreshold=5
< prev index next >