RFR: 8356329: Report compact object headers in hs_err [v4]

Coleen Phillimore coleenp at openjdk.org
Thu May 8 13:12:52 UTC 2025


On Thu, 8 May 2025 10:41:14 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

>> We should report when UseCompactObjectHeaders is enabled in the hs_err file, just like we do for UseCompressedOops or UseCompressedClassPointers, for improved diagnostics.
>
> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Don't check for SIGSEGV to make Windows happy

test/jdk/java/lang/String/CompactString/MaxSizeUTF16String.java line 143:

> 141:         // Strings of size min+1...min+2, throw OOME
> 142:         // The resulting byte array would exceed implementation limits
> 143:         for (int count = min + 2; count < max; count++) {

Is this an unrelated change?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25080#discussion_r2079688835


More information about the hotspot-dev mailing list