On Tue, 7 Jan 2025 04:46:16 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:
>> test/hotspot/jtreg/vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003/TestDescription.java >> line 43: >> >>> 41: * -agentlib:resexhausted=-waittime=5 >>> 42: * -Xms64m >>> 43: * -Xmx64m >> >> Don't you need these to ensure we get OOME in a reasonable amount of time on >> systems with huge memories? > > The test trigger OOME in Metaspace only by loading classes, so heap shouldn't > be used. Ah I see. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22936#discussion_r1904914292