RFR: JDK-8147000: VM crashes during initialization trying to print log message
kim.barrett at oracle.com
Wed Jan 13 22:57:50 UTC 2016
On Jan 13, 2016, at 4:31 PM, Bengt Rutisson <bengt.rutisson at oracle.com> wrote:
> Hi everyone,
> Could I have a couple of reviews for this change to fix GC logging during startup?
> A recent fix in hs-rt, 8146222, exposes a problem with how the GCId::print_prefix() method checks whether it is safe to access the current thread.
> ThreadLocalStorage::is_initialized() does not guarantee that that ThreadLocalStorage::thread() will not return NULL.
> Changed to use Thread::current_or_null() instead. Thanks David Holmes for pointing this out.
More information about the hotspot-gc-dev