RFR: 8377949: TestZRelocationSetEvent.java intermittent fails OOME

Stefan Karlsson stefank at openjdk.org
Mon Feb 16 10:29:19 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.

Marked as reviewed by stefank (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/29732#pullrequestreview-3807817492


More information about the hotspot-dev mailing list