File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments