On Fri, 27 Aug 2021 23:12:52 GMT, Ioi Lam <ik...@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

Reply via email to