Looks good.
/Erik
On 2020-02-27 06:56, Magnus Ihse Bursie wrote:
The JVM feature rewrite changed spec.gmk so that JVM_FEATURE_<variant>
was only set for the variants actually being built. However, in
buildjdk-spec.gmk we override the selected variant with 'server' when
building the buildjdk, but we relied on the set of features detected
for the target jdk. This worked most of the time (?) in practice, but
was arguably not correct. And with the rewrite this failed miserably,
since the JVM was built without any features whatsoever, including any
kind of GC, which caused the buildjdk to fail running with the message:
[buildjdk] Creating interim java.logging.jmod
Error occurred during initialization of VM
Option -XX:+UseSerialGC not supported
I've now handpicked a careful selection of features to turn on, to
hopefully get maximum performance during the build, without adding
features (such as monitoring etc) that is not needed.
Bug: https://bugs.openjdk.java.net/browse/JDK-8239799
WebRev:
http://cr.openjdk.java.net/~ihse/JDK-8239799-cross-compiling-client-fails-after-jvm-feature-rewrite/webrev.01
/Magnus