8269594: assert(_handle_mark_nesting > 1) failed: memory leak: allocating handle outside HandleMark
Reviewed-by: coleenp, jvernee
This commit is contained in:
parent
4ee400ae43
commit
4b4bef4e1e
@ -928,6 +928,7 @@ void ThreadSafepointState::handle_polling_page_exception() {
|
||||
if( nm->is_at_poll_return(real_return_addr) ) {
|
||||
// See if return type is an oop.
|
||||
bool return_oop = nm->method()->is_returning_oop();
|
||||
HandleMark hm(self);
|
||||
Handle return_value;
|
||||
if (return_oop) {
|
||||
// The oop result has been saved on the stack together with all
|
||||
|
Loading…
x
Reference in New Issue
Block a user