RFR: [8u] JDK-8191393: Random crashes during cfree+0x1c

Andrew Dinn adinn at redhat.com
Tue Apr 7 11:23:22 UTC 2020



On 07/04/2020 10:43, Sergey Nazarkin wrote:
> Hi!
> 
> I’m a bit confused but is gcLogFileStream a singleton object?
> Shouldn’t new Mutex be destroyed at gcLogFileStream destructor?

Yes, it's a singleton created by ostream_init_log under Threads::create_vm.

You are probably right that for form's sake the mutex should be
destroyed. In practice I don't think it matters.

regards,


Andrew Dinn
-----------



More information about the jdk8u-dev mailing list