RFR(S): 8186437: Lock held when compiler thread creation is aborted.

Thomas Stüfe thomas.stuefe at gmail.com
Tue Aug 22 13:37:00 UTC 2017


Hi Goetz,



On Tue, Aug 22, 2017 at 3:19 PM, Lindenmaier, Goetz <
goetz.lindenmaier at sap.com> wrote:

> Hi,
>
> Could I please get reviews for this small change? I also please need a
> sponsor.
> http://cr.openjdk.java.net/~goetz/wr17/8186437-compThrLock/
>
> When the VM is aborted because compiler thread creation fails (seen in
> TestOprionsWithRanges with huge stack size) the Thread_lock was not
> released.
>
>
Seems fine, if a bit difficult to read. Alternatively, one could have
unlocked manually - after all, we are never leaving this function, so the
~MutexLocker. That would have preserved the control.

Cheers, Thomas





> Best regards,
>   Goetz.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20170822/6de1dc4e/attachment.html>


More information about the hotspot-compiler-dev mailing list