RFR: 8376125: Out of memory in the CDS archive error with lot of classes

Xue-Lei Andrew Fan xuelei at openjdk.org
Tue Feb 3 22:09:22 UTC 2026


On Tue, 3 Feb 2026 21:28:30 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:

> However, it crashes with UseCompactObjectHeaders=true

That's the expected behavior for the patch, as UseCompactObjectHeaders is limited to 4GB.  I am exploring @iklam and @tstuefe's proposal so that archive size could be extended to 32GB with UseCompactObjectHeaders, and will update if I can go through the prototype.

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

PR Comment: https://git.openjdk.org/jdk/pull/29494#issuecomment-3843927162


More information about the hotspot-dev mailing list