mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8220049: Obsolete ThreadLocalHandshakes
Reviewed-by: dholmes, dcubed, mdoerr
This commit is contained in:
parent
f5929f55cc
commit
0df5be808d
28 changed files with 38 additions and 135 deletions
|
@ -881,7 +881,7 @@ void SafepointSynchronize::block(JavaThread *thread) {
|
|||
void SafepointSynchronize::handle_polling_page_exception(JavaThread *thread) {
|
||||
assert(thread->is_Java_thread(), "polling reference encountered by VM thread");
|
||||
assert(thread->thread_state() == _thread_in_Java, "should come from Java code");
|
||||
if (!ThreadLocalHandshakes) {
|
||||
if (!SafepointMechanism::uses_thread_local_poll()) {
|
||||
assert(SafepointSynchronize::is_synchronizing(), "polling encountered outside safepoint synchronization");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue