[packages/openjdk11] enable shenandoah gc

atler atler at pld-linux.org
Sun Apr 18 14:51:43 CEST 2021


commit 7e6ce6f913a11973acf1c0568cafa7b9d482d876
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Apr 18 14:50:43 2021 +0200

    enable shenandoah gc

 openjdk11.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/openjdk11.spec b/openjdk11.spec
index 6403585..1d5e437 100644
--- a/openjdk11.spec
+++ b/openjdk11.spec
@@ -15,6 +15,10 @@
 %define		with_zero	1
 %endif
 
+%ifarch %{ix86} %{x8664} aarch64
+%define		with_shenandoahgc	1
+%endif
+
 # class data version seen with file(1) that this jvm is able to load
 %define		_classdataversion 55.0
 
@@ -352,6 +356,7 @@ chmod a+x configure
 	--with-extra-cflags="%{rpmcppflags} %{rpmcflags} -fcommon -fno-tree-dse" \
 	--with-extra-cxxflags="%{rpmcppflags} %{rpmcxxflags} -fcommon -fno-tree-dse" \
 	--with-extra-ldflags="%{rpmldflags}" \
+	--with-jvm-features="%{?with_shenandoahgc:shenandoahgc}" \
 	--with-native-debug-symbols=none \
 	--disable-full-docs \
 	--disable-javac-server \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk11.git/commitdiff/7e6ce6f913a11973acf1c0568cafa7b9d482d876



More information about the pld-cvs-commit mailing list