RFR: 8273092: Sort classlist in JDK image

Ioi Lam iklam at openjdk.java.net
Sat Aug 28 03:05:49 UTC 2021


When the classlist is generated using build.tools.classlist.HelloClasslist, its contents may be non-deterministic due to Java thread execution order.

We should sort the generated classlist to make the JDK image's contents more deterministic.

Tested with Mach5 tier1, tier2, builds-tier5

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

Commit messages:
 - 8273092: Sort classlist in JDK image

Changes: https://git.openjdk.java.net/jdk/pull/5288/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5288&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273092
  Stats: 114 lines in 3 files changed: 102 ins; 6 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5288.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5288/head:pull/5288

PR: https://git.openjdk.java.net/jdk/pull/5288



More information about the build-dev mailing list