RFR: 8273092: Sort classlist in JDK image
Claes Redestad
redestad at openjdk.java.net
Sat Aug 28 13:21:27 UTC 2021
On Fri, 27 Aug 2021 23:12:52 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> 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
Seems OK.
make/jdk/src/classes/build/tools/classlist/SortClasslist.java line 31:
> 29: *
> 30: * The classlist is produced by adding -XX:DumpLoadedClassList=classlist
> 31: */
Looks like a copy-paste error (also redundant)
-------------
Marked as reviewed by redestad (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5288
More information about the build-dev
mailing list