RFR: 8077846: improve locking strategy for readConfiguration(), reset(), and initializeGlobalHandlers()
Peter Levart
peter.levart at gmail.com
Tue Apr 28 15:46:35 UTC 2015
On 04/28/2015 04:57 PM, Daniel Fuchs wrote:
>> Here's my attempt at simplifying this:
>>
>> http://cr.openjdk.java.net/~plevart/misc/LogManager.synchronization/webrev.01/
>>
>
> LogManager can be subclassed, and subclasses may override reset() for
> different purposes.
> So I'm afraid the Cleaner thread still needs to call te public
> reset() method. The same unfortunately applies to
> readConfiguration().
>
> best regards,
>
> -- daniel
Um, yes of course. This can be fixed:
http://cr.openjdk.java.net/~plevart/misc/LogManager.synchronization/webrev.02/
Regards, Peter
More information about the core-libs-dev
mailing list