RFR(xs): 8220173: assert(_handle_mark_nesting > 1) failed: memory leak: allocating handle outside HandleMark

Robbin Ehn robbin.ehn at oracle.com
Thu Mar 7 11:21:02 UTC 2019

Hi all, please review.


A thread have a pending exception and we try to handleize the oop without a 
HandleMark before the handshake.
The CautiouslyPreserveExceptionMark should only cover the handshake operation 
not the transition, so moved that into proper scope and added HandleMark.

Passes t1.

Thanks Robbin

More information about the hotspot-runtime-dev mailing list