RFR(S): 8034860: Fatal error due to incorrect thread state during nightly testing (original) (raw)
David Holmes david.holmes at oracle.com
Thu Feb 13 23:15:09 PST 2014
- Previous message: RFR(S): 8034860: Fatal error due to incorrect thread state during nightly testing
- Next message: RFR(S): 8034860: Fatal error due to incorrect thread state during nightly testing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Calvin,
On 14/02/2014 4:49 PM, Calvin Cheung wrote:
bug: https://bugs.openjdk.java.net/browse/JDK-8034860
Please review this fix for fixing a regression caused by the fix for 8028785. The problem is that the env->ExpectionCheck() is being called from a vm thread and triggers the following assert in trasitionfromnative(): assert(thread->threadstate() == threadinnative, "coming from wrong thread state"); A fix is to use the HASPENDINGEXCEPTION and CLEARPENDINGEXCEPTION macros.
This seems a reasonable solution.
Thanks, David
Thanks to coleen.phillimore at oracle.com who suggested this fix.
webrev: http://cr.openjdk.java.net/~ccheung/8034860/webrev/ Testing: jtreg hotspot/test/*, java/lang/invoke (on linuxx64) jtreg sun/misc (on windowsx64 and linuxx64) jprt (in progress) thanks, Calvin
- Previous message: RFR(S): 8034860: Fatal error due to incorrect thread state during nightly testing
- Next message: RFR(S): 8034860: Fatal error due to incorrect thread state during nightly testing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]