From d9f80ff6e87350a743afa44fe41a59e5f1b1d75d Mon Sep 17 00:00:00 2001 From: Severin Gehwolf Date: Wed, 10 May 2023 16:41:32 +0200 Subject: [PATCH] Enable CDS on power64 --- java-17-openjdk.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/java-17-openjdk.spec b/java-17-openjdk.spec index 8dc2930..3ff38a6 100644 --- a/java-17-openjdk.spec +++ b/java-17-openjdk.spec @@ -113,10 +113,7 @@ %global aot_arches x86_64 %{aarch64} # Set of architectures which support the serviceability agent %global sa_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{power64} %{arm} -# Set of architectures which support class data sharing -# See https://bugzilla.redhat.com/show_bug.cgi?id=513605 -# MetaspaceShared::generate_vtable_methods is not implemented for the PPC JIT -%global share_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{arm} s390x +%global share_arches %{ix86} %{power64} x86_64 sparcv9 sparc64 %{aarch64} %{arm} s390x # Set of architectures for which we build the Shenandoah garbage collector %global shenandoah_arches x86_64 %{aarch64} # Set of architectures for which we build the Z garbage collector @@ -792,7 +789,7 @@ exit 0 %{_jvmdir}/%{sdkdir -- %{?1}}/bin/keytool %{_jvmdir}/%{sdkdir -- %{?1}}/bin/rmiregistry %dir %{_jvmdir}/%{sdkdir -- %{?1}}/lib -%ifarch %{jit_arches} +%ifarch %{share_arches} %{_jvmdir}/%{sdkdir -- %{?1}}/lib/classlist %endif %{_jvmdir}/%{sdkdir -- %{?1}}/lib/jexec