8381270: TestGCPhaseConcurrent.java#Z intermittent fails OOME

Reviewed-by: tschatzl, mgronlun
This commit is contained in:
SendaoYan 2026-05-28 01:27:07 +00:00
parent ce55336488
commit 7df417c353

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -35,11 +35,11 @@ import jdk.test.lib.jfr.Events;
* @requires vm.flagless
* @library /test/lib /test/jdk /test/hotspot/jtreg
* @requires vm.hasJFR & vm.gc.Z
* @run main/othervm -XX:+UseZGC -Xmx32M jdk.jfr.event.gc.detailed.TestGCPhaseConcurrent Z
* @run main/othervm -XX:+UseZGC -Xmx64M jdk.jfr.event.gc.detailed.TestGCPhaseConcurrent Z
*/
/**
* @test TestGCPhaseConcurrent
* @test id=Shenandoah
* @requires vm.flagless
* @library /test/lib /test/jdk /test/hotspot/jtreg
* @requires vm.hasJFR & vm.gc.Shenandoah