Hi all,

While I am developing a custom j.l.instrument agent I have found that
occasionally it would print an assert message (see bug report). After
looking at the source code, a previous fix enabled j.l.instrument to work
without assertion during shutdown phase (bug 6572160) - however it looks
like the function confirmingTLSSet in Reentrancy.c passed the
JVMTI_ERROR_WRONG_PHASE error code back to the releaseReentrancyToken
method which tripped the assert there.

I propose to fix this by adding a check_phase_ret() call to the end of the
releaseReentrancyToken() - would this be the correct thing to do?

Thanks

-- 
Sunny Chan
*Email*: [email protected] *Mobile*: +852 6386 1835 *Web site*:
http://www.sunnychan.hk *Twitter*: @sunnythepooh77

Reply via email to