Minimal JVM
Julian Waters
tanksherman27 at gmail.com
Wed Jul 13 05:40:59 UTC 2022
Hi Thomas,
Thanks for the explanation! No clue how I missed out something that was
right there...
best regards,
Julian
On Tue, Jul 12, 2022 at 8:01 PM Thomas Stüfe <thomas.stuefe at gmail.com>
wrote:
> 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/20220713/2817c0c0/attachment.htm>
More information about the build-dev
mailing list