--- a/src/hotspot/share/interpreter/bytecodeInterpreter.cpp Tue Nov 07 11:58:52 2017 +0100
+++ b/src/hotspot/share/interpreter/bytecodeInterpreter.cpp Wed Nov 15 16:03:56 2017 +0100
@@ -99,12 +99,10 @@
in relation to a safepoint.
*/
#define SAFEPOINT \
- if ( SafepointSynchronize::is_synchronizing()) { \
- { \
- /* zap freed handles rather than GC'ing them */ \
- HandleMarkCleaner __hmc(THREAD); \
- } \
- CALL_VM(SafepointSynchronize::block(THREAD), handle_exception); \
+ { \
+ /* zap freed handles rather than GC'ing them */ \
+ HandleMarkCleaner __hmc(THREAD); \
+ CALL_VM(SafepointMechanism::block_if_requested(THREAD), handle_exception); \
}
/*