[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Fix for bug 7142035: assert in j.l.instrument agents during shutdown when daemon thread is running
From: openjdk () sunnychan ! hk (Sunny Chan)
Date: 2012-07-31 15:31:25
Message-ID: CAKSOMzS3vHCWnCR4TgwRJScQB7+MDFqE79h7vLkdLMDwTa9b5g () mail ! gmail ! com
[Download RAW message or body]
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*: me at sunnychan.hk *Mobile*: +852 6386 1835 *Web site*:
http://www.sunnychan.hk *Twitter*: @sunnythepooh77
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20120731/ce989067/attachment.html \
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic