Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.
/ jdk20 Public archive

Commit a17f505

Browse files
committed
8299476: PPC64 Zero build fails after JDK-8286302
Reviewed-by: mdoerr
1 parent b743519 commit a17f505

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: src/hotspot/share/runtime/continuationFreezeThaw.cpp

+5-2
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,11 @@ FreezeBase::FreezeBase(JavaThread* thread, ContinuationWrapper& cont, intptr_t*
483483

484484
assert(_cont.chunk_invariant(), "");
485485
assert(!Interpreter::contains(_cont.entryPC()), "");
486-
static const int doYield_stub_frame_size = NOT_PPC64(frame::metadata_words)
487-
PPC64_ONLY(frame::abi_reg_args_size >> LogBytesPerWord);
486+
#if !defined(PPC64) || defined(ZERO)
487+
static const int doYield_stub_frame_size = frame::metadata_words;
488+
#else
489+
static const int doYield_stub_frame_size = frame::abi_reg_args_size >> LogBytesPerWord;
490+
#endif
488491
assert(SharedRuntime::cont_doYield_stub()->frame_size() == doYield_stub_frame_size, "");
489492

490493
// properties of the continuation on the stack; all sizes are in words

0 commit comments

Comments
 (0)