RFR: 8334598: Default classlist in JDK is not deterministic after JDK-8293980
    Ioi Lam 
    iklam at openjdk.org
       
    Mon Jun 24 21:27:20 UTC 2024
    
    
  
More filtering is needed when building the default archive in the JDK: constant pool resolution when running the `build.tools.classlist.HelloClasslist` program is not deterministic (due to concurrency in core library classes). This could cause different values in the `@cp` lines in the classlist file. The benefit of pre-resolved constant pool entries is more visible for custom archives and not so much for the default archive in the JDK, so we disable this optimization for the default CDS archive, until we can find a way to make it deterministic.
-------------
Commit messages:
 - 8334598: -XX:DumpLoadedClassList is not deterministic after JDK-8293980
Changes: https://git.openjdk.org/jdk/pull/19868/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19868&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334598
  Stats: 10 lines in 1 file changed: 3 ins; 2 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/19868.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19868/head:pull/19868
PR: https://git.openjdk.org/jdk/pull/19868
    
    
More information about the build-dev
mailing list