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

SendaoYan syan at openjdk.org
Fri Dec 19 06:17:53 UTC 2025


On Fri, 19 Dec 2025 04:48:26 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

>> SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>> 
>>  - Merge branch 'openjdk:master' into jbs8373945
>>  - Remove unnecessary unloadClass
>>  - 8373945: vmTestbase eatMemory/ClassUnloader provoke OOME to force GC and might cause GC in other threads
>
> test/hotspot/jtreg/vmTestbase/nsk/share/ClassUnloader.java line 36:
> 
>> 34: import nsk.share.test.ExecutionController;
>> 35: import nsk.share.test.Stresser;
>> 36: import jdk.test.whitebox.WhiteBox;
> 
> This change impacts a lot of tests in vmTestbase. They are going to be broken if are using classunloading.
> Si it requires testing of ALL vmTestbase tests to ensure that all test are fixed, not only monitoring.

Thanks. I am also noticed that some other test need to be updated after the change of classunloading.

I will do it later.

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

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


More information about the serviceability-dev mailing list