8305227: [s390x] build broken after JDK-8231349

Reviewed-by: shade, lucy, kvn
This commit is contained in:
Amit Kumar 2023-03-31 16:57:46 +00:00 committed by Aleksey Shipilev
parent dae1ab3aad
commit 4a5d7ca7d9

View File

@ -3152,6 +3152,13 @@ class StubGenerator: public StubCodeGenerator {
// Arraycopy stubs used by compilers.
generate_arraycopy_stubs();
// nmethod entry barriers for concurrent class unloading
BarrierSetNMethod* bs_nm = BarrierSet::barrier_set()->barrier_set_nmethod();
if (bs_nm != NULL) {
StubRoutines::zarch::_nmethod_entry_barrier = generate_nmethod_entry_barrier();
}
}
void generate_compiler_stubs() {
@ -3199,12 +3206,6 @@ class StubGenerator: public StubCodeGenerator {
StubRoutines::_sha512_implCompressMB = generate_SHA512_stub(true, "SHA512_multiBlock");
}
// nmethod entry barriers for concurrent class unloading
BarrierSetNMethod* bs_nm = BarrierSet::barrier_set()->barrier_set_nmethod();
if (bs_nm != NULL) {
StubRoutines::zarch::_nmethod_entry_barrier = generate_nmethod_entry_barrier();
}
#ifdef COMPILER2
if (UseMultiplyToLenIntrinsic) {
StubRoutines::_multiplyToLen = generate_multiplyToLen();