RFR(S): 8034860: Fatal error due to incorrect thread state during nightly testing (original) (raw)

Daniel D. Daugherty daniel.daugherty at oracle.com
Fri Feb 14 06:39:53 PST 2014


webrev: http://cr.openjdk.java.net/~ccheung/8034860/webrev/

src/share/vm/prims/whitebox.hpp No comments.

Thumbs up.

Dan

On 2/13/14 11: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. 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



More information about the hotspot-dev mailing list