On Wed, 18 Mar 2026 09:55:44 GMT, Thomas Stuefe <[email protected]> wrote:

>> Actually I think this is a bug because the enum is exactly backwards.
>
> Good catch. That is wrong, I accidentally cut away the comparison.
> 
> This is only used when putting together the text for a Metaspace OOM. Seems 
> our tests did not pick up on that, might look into that.

Hah.


hotspot/jtreg/runtime/Metaspace/MaxMetaspaceSizeTest.java
46:        // "OutOfMemoryError: Metaspace" or
48:        output.shouldMatch("OutOfMemoryError.*(Compressed class 
space|Metaspace)");


Yeah, I will improve the test.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28366#discussion_r2952229425

Reply via email to