Integrated: 8377949: TestZRelocationSetEvent.java intermittent fails OOME

SendaoYan syan at openjdk.org
Fri Feb 20 08:30:12 UTC 2026


On Mon, 16 Feb 2026 06:26:39 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> Test jdk/jfr/event/gc/detailed/TestZRelocationSetEvent.java intermittent fails since test report "java.lang.OutOfMemoryError: Java heap space". The test log shows that the 32M max heap memory is not enough to finish the invoke `Events.fromRecording(recording)` -> `RecordingFile.readAllEvents(List)` sometimes.
> 
> This PR change the max heap memory to 64M to make test more ronustness. Test intermittent failure probability about 1/50 before this PR; Test run 10k times and all passed after the proposed patch.

This pull request has now been integrated.

Changeset: cb706549
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cb70654943695049e75743ee957c7c51ac33ffdc
Stats:     3 lines in 1 file changed: 0 ins; 1 del; 2 mod

8377949: TestZRelocationSetEvent.java intermittent fails OOME

Reviewed-by: stefank, mgronlun

-------------

PR: https://git.openjdk.org/jdk/pull/29732


More information about the hotspot-dev mailing list