RFR: 8373941: Epsilon: Robust counter updates in early VM phases

Aleksey Shipilev shade at openjdk.org
Thu Jan 8 15:53:46 UTC 2026


On Tue, 6 Jan 2026 10:38:13 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> See more details in the bug. This PR makes the counters updated on allocation path more robust. New regression test captures the original failure (intermittently). This would be also backported to JDK 26.
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, `gc/epsilon`, 100x
>  - [x] Linux x86_64 server fastdebug, `runtime/cds/appcds/TestEpsilonGCWithCDS.java`, 100x
>  - [x] Linux x86_64 server fastdebug, `gc/epsilon/TestInitAllocs.java`, 1000x

@stefank -- is that what you had in mind as one of the solutions?

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

PR Comment: https://git.openjdk.org/jdk/pull/29061#issuecomment-3724487007


More information about the hotspot-gc-dev mailing list