RFR: 8373945: vmTestbase eatMemory/ClassUnloader provoke OOME to force GC and might cause GC in other threads [v8]

SendaoYan syan at openjdk.org
Mon Dec 22 06:17:56 UTC 2025


On Mon, 22 Dec 2025 03:12:17 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update comments about "using memory stressing techique"
>
> test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large002/TestDescription.java line 52:
> 
>> 50:  *     The test loads the classes with nsk.share.gc.GCClassUnloader class that
>> 51:  *     extends nsk.share. *     The test loads the classes with nsk.share.gc.GCClassUnloader class.
>> 52:  *     As soon as a class is loaded, the test creates an instance of
> 
> There seems to have been a copy-n-paste error here, and it was replicated in a few test  cases below.

Sorry... Fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28891#discussion_r2638795405


More information about the serviceability-dev mailing list