RFR(xxs): 8144702: Using tid decorator in Unified Logging may crash VM
Marcus Larsson
marcus.larsson at oracle.com
Fri Dec 4 12:12:02 UTC 2015
Hi Thomas,
On 2015-12-04 13:05, Thomas Stüfe wrote:
> Hi all,
>
> please review this tiny fix:
>
> webrev:
> http://cr.openjdk.java.net/~stuefe/webrevs/8144702-Using-tid-decorator-in-Unified-Logging-may-crash-VM/webrev.00/webrev/
> bug: https://bugs.openjdk.java.net/browse/JDK-8144702
Looks good. Thanks for fixing this!
Regards,
Marcus
>
> Unified Logging uses Thread::current() when printing out the "tid"
> decorator, which will crash the VM if logging is done after thread start
> and before thread TLS slot initialization or after thread TLS slot cleanup
> and before thread finish.
>
> Kind regards, Thomas
More information about the hotspot-runtime-dev
mailing list