RFR: 8352044: Add --with-import-jvms to configure

David Holmes dholmes at openjdk.org
Fri Mar 14 21:01:52 UTC 2025


On Fri, 14 Mar 2025 17:58:50 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> This change copies `libjvm.so` _and_ sibling `.jsa` files, right?
>> 
>> If so, then one thing is missing: regenerating CDS archives that have opinions on `modules` filesizes/dates for fingerprinting their CDS archives. My frankensteining scripts do that by invoking new JVM explicitly with `-Xshare:dump`. But build system should already know how to do that, as it does it at the end of the build.
>> 
>> Try to import a JVM and do `java -Xshare:on Hello`?
>
>> 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.

@magicus I'm trying to see the big picture here of all the changes you are proposing and I'm really not seeing it. This seems to be making it more difficult to create a JDK/JRE with multiple VMs.

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

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


More information about the core-libs-dev mailing list