RFR: 8377949: TestZRelocationSetEvent.java intermittent fails OOME
SendaoYan
syan at openjdk.org
Fri Feb 20 08:30:11 UTC 2026
On Mon, 16 Feb 2026 10:26:51 GMT, Stefan Karlsson <stefank 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).
Thanks for the reviews @stefank @mgronlun
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29732#issuecomment-3932374544
More information about the hotspot-dev
mailing list