--- old/src/hotspot/cpu/sparc/c1_LIRGenerator_sparc.cpp 2017-10-11 15:25:10.658259927 +0200 +++ new/src/hotspot/cpu/sparc/c1_LIRGenerator_sparc.cpp 2017-10-11 15:25:10.416249536 +0200 @@ -33,6 +33,7 @@ #include "ci/ciArray.hpp" #include "ci/ciObjArrayKlass.hpp" #include "ci/ciTypeArrayKlass.hpp" +#include "runtime/safepointMechanism.hpp" #include "runtime/sharedRuntime.hpp" #include "runtime/stubRoutines.hpp" #include "vmreg_sparc.inline.hpp" @@ -1304,7 +1305,7 @@ if (x->is_safepoint()) { // increment backedge counter if needed increment_backedge_counter(state_for(x, x->state_before()), x->profiled_bci()); - __ safepoint(new_register(T_INT), state_for(x, x->state_before())); + __ safepoint(safepoint_poll_register(), state_for(x, x->state_before())); } __ cmp(lir_cond(cond), left, right);