RFR: 8298638: Cleanup of unix java_md.c for better re-exec handling

Dmitry Samersoff dsamersoff at openjdk.org
Fri Dec 16 10:01:07 UTC 2022


On Wed, 14 Dec 2022 09:51:20 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> src/java.base/unix/native/libjli/java_md.c line 177:
>> 
>>> 175:     char clientPattern[] = "lib/client";
>>> 176:     char serverPattern[] = "lib/server";
>>> 177:     char minimalPattern[] = "lib/minimal";
>> 
>> I don't see any point in adding this when the MinimalVM is not really relevant to current JDK.
>
> Yeah, the minimal VM build probably needs wider discussion. There are bug reports when it breaks so some people are still building it. The context here seems to be that LD_LIBRARY_PATH set to a location that includes "lib/minimal" so somewhat unusual setup. It seems like it's a separate issue for discussion.

>From launcher perspective, lib/minimal is just another "suspicious" keyword in LD_LIBRARY_PATH. Launcher is not affected by any other problems related to  minimal VM. 

I think that launcher should support all VM variants consistently, as long as we can build a minimal VM from the current JDK sources.

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

PR: https://git.openjdk.org/jdk/pull/11645


More information about the core-libs-dev mailing list