Minimal JVM
Thomas Stüfe
thomas.stuefe at gmail.com
Tue Jul 12 12:01:47 UTC 2022
Hi Julian,
the minimal build filters out a whole bunch of optional JVM subsystems in
the configure stage, see
https://github.com/openjdk/jdk/blob/04c47da118b2870d1c7525348a2ffdf9cd1cc0a4/make/autoconf/jvm-features.m4#L422-L425
That typically manifests via flags like -DINCLUDE_CDS=0,
see hotspot/lib/JvmFeatures.gmk
HTH, Cheers, Thomas
On Tue, Jul 12, 2022 at 1:24 PM Julian Waters <tanksherman27 at gmail.com>
wrote:
> Sorry if this sounds like a bit of a silly question, but what's the
> difference between a Minimal VM (Enabled by --enable-jvm-feature-minimal),
> and, say, the regular Server VM the build system generates by default? All
> it seems to do is define MINIMAL_JVM (Which doesn't seem to be used
> anywhere?), set VMTYPE to "Minimal", and if the target OS is Linux, let
> strip operate more aggressively and remove everything that isn't needed in
> the final shared library, as opposed to only debug symbols as per usual. Am
> I missing something here?
>
> best regards,
> Julian
>
> EDIT: Sent this to the old mailing address initially. Whoops!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20220712/77ba6d61/attachment.htm>
More information about the build-dev
mailing list