From a8946490e2b362d241c61cc459dbaba93fc93ca4 Mon Sep 17 00:00:00 2001 From: Tyler Steele Date: Fri, 9 Dec 2022 17:04:11 +0000 Subject: [PATCH] 8298225: [AIX] Disable PPC64LE continuations on AIX Reviewed-by: rrich, mdoerr --- src/hotspot/cpu/ppc/globals_ppc.hpp | 2 +- src/hotspot/cpu/ppc/ppc.ad | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/hotspot/cpu/ppc/globals_ppc.hpp b/src/hotspot/cpu/ppc/globals_ppc.hpp index 44b321635e1..527e5f5b4da 100644 --- a/src/hotspot/cpu/ppc/globals_ppc.hpp +++ b/src/hotspot/cpu/ppc/globals_ppc.hpp @@ -54,7 +54,7 @@ define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES); define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES); define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES); -define_pd_global(bool, VMContinuations, true); +define_pd_global(bool, VMContinuations, AIX_ONLY(false) NOT_AIX(true)); // Use large code-entry alignment. define_pd_global(uintx, CodeCacheSegmentSize, 128); diff --git a/src/hotspot/cpu/ppc/ppc.ad b/src/hotspot/cpu/ppc/ppc.ad index 296bf160089..fd17bfe0682 100644 --- a/src/hotspot/cpu/ppc/ppc.ad +++ b/src/hotspot/cpu/ppc/ppc.ad @@ -14374,6 +14374,12 @@ instruct safePoint_poll(iRegPdst poll) %{ // Call Java Static Instruction +source %{ + +#include "runtime/continuation.hpp" + +%} + // Schedulable version of call static node. instruct CallStaticJavaDirect(method meth) %{ match(CallStaticJava);