RFR: 8342283: CDS cannot handle a large number of classes [v2]

Aleksey Shipilev shade at openjdk.org
Mon Apr 28 09:20:40 UTC 2025


On Sun, 27 Apr 2025 20:32:24 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> Aleksey Shipilev 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 four additional commits since the last revision:
>> 
>>  - Minor touchup
>>  - Merge branch 'master' into JDK-8342283-cds-many-classes
>>  - Adjust TEST.groups
>>  - Fix
>
> test/hotspot/jtreg/runtime/cds/appcds/LotsOfSyntheticClasses.java line 67:
> 
>> 65:         out.add("}");
>> 66:         for (int c = 0; c < NUM_NESTED_CLASSES; c++) {
>> 67:             out.add("public static class " + NESTED_CLASS_NAME  + c + " {}");
> 
> Suggestion:
> 
>             out.add("public static class " + NESTED_CLASS_NAME + c + " {}");

Fixed, thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24877#discussion_r2063255718


More information about the hotspot-dev mailing list