On Fri, 14 Mar 2025 16:32:39 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> This change copies `libjvm.so` _and_ sibling `.jsa` files, right?

No, it doesn't -- only libjvm.so. .jsa files complicate the situation. Hm.

Maybe we should point to an import JVM directory, and copy it with all its 
files, and not just try to single out the libjvm.so. That will allow imported 
JVMs to tag along any kind of files they want.

> Try to import a JVM and do `java -Xshare:on Hello`?

The problem is that we can't really count on -Xshare being supported on an 
imported JVM.

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

PR Comment: https://git.openjdk.org/jdk/pull/24063#issuecomment-2725393724
PR Comment: https://git.openjdk.org/jdk/pull/24063#issuecomment-2725396677

Reply via email to