Integrated: 8334598: Default classlist in JDK is not deterministic after JDK-8293980
Ioi Lam
iklam at openjdk.org
Tue Jun 25 16:47:14 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.
This pull request has now been integrated.
Changeset: 7429c37e
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/7429c37e63ffd50884d91d8f583d409633bfb04d
Stats: 10 lines in 1 file changed: 3 ins; 2 del; 5 mod
8334598: Default classlist in JDK is not deterministic after JDK-8293980
Reviewed-by: ccheung, dholmes, stuefe, erikj
-------------
PR: https://git.openjdk.org/jdk/pull/19868
More information about the build-dev
mailing list