mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents
8233915: JVMTI FollowReferences: Java Heap Leak not found because of C2 Scalar Replacement Reviewed-by: mdoerr, goetz, sspitsyn, kvn
This commit is contained in:
parent
f167a71f1d
commit
40f847e2fb
53 changed files with 5744 additions and 218 deletions
|
@ -989,6 +989,10 @@ void ThreadSafepointState::handle_polling_page_exception() {
|
|||
|
||||
// Process pending operation
|
||||
SafepointMechanism::process_if_requested(self);
|
||||
// We have to wait if we are here because of a handshake for object deoptimization.
|
||||
if (self->is_obj_deopt_suspend()) {
|
||||
self->wait_for_object_deoptimization();
|
||||
}
|
||||
self->check_and_handle_async_exceptions();
|
||||
|
||||
// restore oop result, if any
|
||||
|
@ -1006,6 +1010,10 @@ void ThreadSafepointState::handle_polling_page_exception() {
|
|||
|
||||
// Process pending operation
|
||||
SafepointMechanism::process_if_requested(self);
|
||||
// We have to wait if we are here because of a handshake for object deoptimization.
|
||||
if (self->is_obj_deopt_suspend()) {
|
||||
self->wait_for_object_deoptimization();
|
||||
}
|
||||
set_at_poll_safepoint(false);
|
||||
|
||||
// If we have a pending async exception deoptimize the frame
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue