< prev index next >

test/jdk/jdk/jfr/event/gc/detailed/TestStressBigAllocationGCEventsWithG1.java

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

*** 30,39 **** --- 30,40 ---- * considered humongous when it allocates equals or more than one region. As * we're passing the size of byte array we need adjust it that entire structure * 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 */ public class TestStressBigAllocationGCEventsWithG1 {
< prev index next >