changeset 57768:24f7289e61e3

8237374: configuring with --with-jvm-variants=minimal,server makes cds disappear in server Reviewed-by: erikj
author mbaesken
date Tue, 21 Jan 2020 15:23:29 +0100
parents 7c606c26d02a
children 055d9be4dd30
files make/autoconf/hotspot.m4
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/autoconf/hotspot.m4	Tue Jan 21 20:58:48 2020 +0100
+++ b/make/autoconf/hotspot.m4	Tue Jan 21 15:23:29 2020 +0100
@@ -523,8 +523,7 @@
     fi
   fi
 
-  # Disable CDS for zero, minimal, core..
-  if HOTSPOT_CHECK_JVM_VARIANT(zero) || HOTSPOT_CHECK_JVM_VARIANT(minimal) || HOTSPOT_CHECK_JVM_VARIANT(core); then
+  if ! HOTSPOT_CHECK_JVM_VARIANT(server) && ! HOTSPOT_CHECK_JVM_VARIANT(client); then
     # ..except when the user explicitely requested it with --enable-jvm-features
     if ! HOTSPOT_CHECK_JVM_FEATURE(cds); then
       ENABLE_CDS="false"