Skip to content

Commit 4a5d7ca

Browse files
offamitkumarshipilev
authored andcommitted
8305227: [s390x] build broken after JDK-8231349
Reviewed-by: shade, lucy, kvn
1 parent dae1ab3 commit 4a5d7ca

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/hotspot/cpu/s390/stubGenerator_s390.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3152,6 +3152,13 @@ class StubGenerator: public StubCodeGenerator {
31523152

31533153
// Arraycopy stubs used by compilers.
31543154
generate_arraycopy_stubs();
3155+
3156+
// nmethod entry barriers for concurrent class unloading
3157+
BarrierSetNMethod* bs_nm = BarrierSet::barrier_set()->barrier_set_nmethod();
3158+
if (bs_nm != NULL) {
3159+
StubRoutines::zarch::_nmethod_entry_barrier = generate_nmethod_entry_barrier();
3160+
}
3161+
31553162
}
31563163

31573164
void generate_compiler_stubs() {
@@ -3199,12 +3206,6 @@ class StubGenerator: public StubCodeGenerator {
31993206
StubRoutines::_sha512_implCompressMB = generate_SHA512_stub(true, "SHA512_multiBlock");
32003207
}
32013208

3202-
// nmethod entry barriers for concurrent class unloading
3203-
BarrierSetNMethod* bs_nm = BarrierSet::barrier_set()->barrier_set_nmethod();
3204-
if (bs_nm != NULL) {
3205-
StubRoutines::zarch::_nmethod_entry_barrier = generate_nmethod_entry_barrier();
3206-
}
3207-
32083209
#ifdef COMPILER2
32093210
if (UseMultiplyToLenIntrinsic) {
32103211
StubRoutines::_multiplyToLen = generate_multiplyToLen();

0 commit comments

Comments
 (0)