RFR: 8334598: Default classlist in JDK is not deterministic after JDK-8293980
    Calvin Cheung 
    ccheung at openjdk.org
       
    Mon Jun 24 21:53:10 UTC 2024
    
    
  
On Mon, 24 Jun 2024 21:22:48 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> 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.
LGTM
-------------
Marked as reviewed by ccheung (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/19868#pullrequestreview-2136848627
    
    
More information about the build-dev
mailing list