Re: RFR 8160892: VM warning: WaitForMultipleObjects timed out

2016-07-06 Thread Ivan Gerasimov
Thanks Daniel! I'll rearrange comments as you suggest. With kind regards, Ivan On 07.07.2016 0:21, Daniel D. Daugherty wrote: On 7/6/16 10:57 AM, Ivan Gerasimov wrote: Hello! When fixing JDK-8069048 a potential race was overlooked: 1) Thread A wants to call _endthreadex() and registers itse

Re: RFR 8160892: VM warning: WaitForMultipleObjects timed out

2016-07-06 Thread Daniel D. Daugherty
On 7/6/16 10:57 AM, Ivan Gerasimov wrote: Hello! When fixing JDK-8069048 a potential race was overlooked: 1) Thread A wants to call _endthreadex() and registers itself, 2) Thread B wants to call exit(), takes its turn and raises the flag `process_exiting`, 3) Thread A continues, and gets captur

RFR 8160892: VM warning: WaitForMultipleObjects timed out

2016-07-06 Thread Ivan Gerasimov
Hello! When fixing JDK-8069048 a potential race was overlooked: 1) Thread A wants to call _endthreadex() and registers itself, 2) Thread B wants to call exit(), takes its turn and raises the flag `process_exiting`, 3) Thread A continues, and gets captured in the loop at 4020, in SuspendThread(G

RFR 8160892: VM warning: WaitForMultipleObjects timed out

2016-07-06 Thread Ivan Gerasimov
Hello! When fixing JDK-8069048 a potential race was overlooked: 1) Thread A wants to call _endthreadex() and registers itself, 2) Thread B wants to call exit(), takes its turn and raises the flag `process_exiting`, 3) Thread A continues, and gets captured in the loop at 4020, in SuspendThread(G

RFR(S): JDK-8134434: JVM_DoPrivileged() fires assert(_exception_caught == false) failed: _exception_caught is out of phase

2016-07-06 Thread Dmitry Samersoff
Everybody, Please review the fix. http://cr.openjdk.java.net/~dsamersoff/JDK-8134434/webrev.01/ All credentials belongs to Richard Reingruber, see mail thread (below) for details. http://mail.openjdk.java.net/pipermail/hotspot-dev/2015-August/019613.html -Dmitry -- Dmitry Samersoff Oracle J