8214476: ZGC: Build ZGC by default
Reviewed-by: shade, rkennke, ihse
This commit is contained in:
parent
6c7781572c
commit
8fc0c2f645
@ -325,17 +325,13 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Only enable ZGC on Linux x86_64
|
# Only enable ZGC on supported platforms
|
||||||
AC_MSG_CHECKING([if zgc should be built])
|
AC_MSG_CHECKING([if zgc can be built])
|
||||||
if HOTSPOT_CHECK_JVM_FEATURE(zgc); then
|
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
|
||||||
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
|
AC_MSG_RESULT([yes])
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
else
|
|
||||||
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES zgc"
|
|
||||||
AC_MSG_RESULT([no, platform not supported])
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES zgc"
|
||||||
|
AC_MSG_RESULT([no, platform not supported])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable unsupported GCs for Zero
|
# Disable unsupported GCs for Zero
|
||||||
@ -474,7 +470,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# All variants but minimal (and custom) get these features
|
# All variants but minimal (and custom) get these features
|
||||||
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES cmsgc g1gc parallelgc serialgc epsilongc jni-check jvmti management nmt services vm-structs"
|
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES cmsgc g1gc parallelgc serialgc epsilongc jni-check jvmti management nmt services vm-structs zgc"
|
||||||
|
|
||||||
# Disable CDS on AIX.
|
# Disable CDS on AIX.
|
||||||
if test "x$OPENJDK_TARGET_OS" = "xaix"; then
|
if test "x$OPENJDK_TARGET_OS" = "xaix"; then
|
||||||
|
@ -688,14 +688,6 @@ var getJibProfilesProfiles = function (input, common, data) {
|
|||||||
profiles[openName].artifacts["jdk"].remote));
|
profiles[openName].artifacts["jdk"].remote));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Enable ZGC in linux-x64-open builds
|
|
||||||
[ "linux-x64-open" ].forEach(function (name) {
|
|
||||||
var configureArgs = { configure_args: [ "--with-jvm-features=zgc" ] };
|
|
||||||
var debugName = name + common.debug_suffix;
|
|
||||||
profiles[name] = concatObjects(profiles[name], configureArgs);
|
|
||||||
profiles[debugName] = concatObjects(profiles[debugName], configureArgs);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Generate cmp-baseline profiles for each main profile and their
|
// Generate cmp-baseline profiles for each main profile and their
|
||||||
// corresponding debug profile. This profile does a compare build run with no
|
// corresponding debug profile. This profile does a compare build run with no
|
||||||
// changes to verify that the compare script has a clean baseline
|
// changes to verify that the compare script has a clean baseline
|
||||||
|
Loading…
x
Reference in New Issue
Block a user