RFR: 8273801: Handle VMTYPE for "core" VM variant

David Holmes dholmes at openjdk.java.net
Thu Sep 16 12:06:00 UTC 2021


On Wed, 15 Sep 2021 09:55:22 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Building with --with-jvm-variants=core currently produces a binary that replies an odd version:
> 
> 
> $ build/linux-x86_64-core-fastdebug/images/jdk/bin/java -version
> openjdk version "18-internal" 2022-03-15
> OpenJDK Runtime Environment (fastdebug build 18-internal+0-adhoc.shade.jdk)
> OpenJDK 64-Bit  VM (fastdebug build 18-internal+0-adhoc.shade.jdk, interpreted mode)
> 
> 
> It should actually say "OpenJDK 64-Bit Core VM", I think. Build just misses a simple definition of `VMTYPE` for core variant. 
> 
> After the patch:
> 
> 
> $ build/linux-x86_64-core-fastdebug/images/jdk/bin/java -client -version
> openjdk version "18-internal" 2022-03-15
> OpenJDK Runtime Environment (fastdebug build 18-internal+0-adhoc.shade.jdk)
> OpenJDK 64-Bit Core VM (fastdebug build 18-internal+0-adhoc.shade.jdk, interpreted mode)

Begs the question ... if there is no C1 and no C2 then what is the name of the directory where libjvm.so lives?

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

PR: https://git.openjdk.java.net/jdk/pull/5525



More information about the build-dev mailing list