From ceaf4a6be26354200e390806e6f98d96c0da9de7 Mon Sep 17 00:00:00 2001 From: joe-braley Date: Tue, 28 Nov 2023 13:49:10 -0600 Subject: [PATCH] enable cds on macos arm --- make/autoconf/hotspot.m4 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/make/autoconf/hotspot.m4 b/make/autoconf/hotspot.m4 index 9bb34363e5c..ceede26a98c 100644 --- a/make/autoconf/hotspot.m4 +++ b/make/autoconf/hotspot.m4 @@ -281,12 +281,12 @@ AC_DEFUN_ONCE([HOTSPOT_ENABLE_DISABLE_CDS], fi # Disable CDS on macos-aarch64 - if test "x$OPENJDK_TARGET_OS" = "xmacosx" && test "x$OPENJDK_TARGET_CPU" = "xaarch64"; then - ENABLE_CDS="false" - if test "x$enable_cds" = "xyes"; then - AC_MSG_ERROR([CDS is currently not supported on macOS/aarch64. Remove --enable-cds.]) - fi - fi +# if test "x$OPENJDK_TARGET_OS" = "xmacosx" && test "x$OPENJDK_TARGET_CPU" = "xaarch64"; then +# ENABLE_CDS="false" +# if test "x$enable_cds" = "xyes"; then +# AC_MSG_ERROR([CDS is currently not supported on macOS/aarch64. Remove --enable-cds.]) +# fi +# fi AC_SUBST(ENABLE_CDS) ])