< prev index next >

src/hotspot/share/jvmci/jvmciCodeInstaller.cpp

Print this page
rev 47413 : Introduce SafepointMechanism
rev 47415 : Add Thread Local handshakes and thread local polling

*** 858,870 **** } else { JVMCI_ERROR_OK("unexpected site subclass: %s", site->klass()->signature_name()); } last_pc_offset = pc_offset; ! if (SafepointMechanism::poll()) { // this is a hacky way to force a safepoint check but nothing else was jumping out at me. ! ThreadToNativeFromVM ttnfv(JavaThread::current()); } } #ifndef PRODUCT if (comments() != NULL) { --- 858,871 ---- } else { JVMCI_ERROR_OK("unexpected site subclass: %s", site->klass()->signature_name()); } last_pc_offset = pc_offset; ! JavaThread* thread = JavaThread::current(); ! if (SafepointMechanism::poll(thread)) { // this is a hacky way to force a safepoint check but nothing else was jumping out at me. ! ThreadToNativeFromVM ttnfv(thread); } } #ifndef PRODUCT if (comments() != NULL) {
< prev index next >