On Mon, 22 Mar 2021 01:30:43 GMT, Jie Fu <ji...@openjdk.org> wrote: > Hi all, > > The VM fails to get initialized when running with `java -Xshare:on -version` > on x86_32. > The reason is that the default shared archive (classes_nocoops.jsa) doesn't > exist. > So the build system should generate classes_nocoops.jsa instead of > classes.jsa on x86_32. > > Thanks. > Best regards, > Jie
Hi Jie, I don't think this is the right solution here. The logic for when to use a NOCOOPS archive seems inconsistent between the generate and use phases. If 32-bit is logically always a no-coops archive it should still be called classes.jsa. The logic to look for the archive seems wrong to me. David ------------- PR: https://git.openjdk.java.net/jdk/pull/3109