RFR: Here are some Thread cleanup patches

Martin Buchholz martinrb at google.com
Wed Mar 28 00:48:09 UTC 2018

On Tue, Mar 27, 2018 at 4:42 PM, David Holmes <david.holmes at oracle.com>

> Hi Martin,
> 8200123: Replace Thread.init with telescoping constructor
>> http://cr.openjdk.java.net/~martin/webrevs/jdk/Thread-init/
>> https://bugs.openjdk.java.net/browse/JDK-8200123
> Looks fine - for some reason I thought we had a direct VM call to init()
> but we don't.
> What is the effect of @stable? I'm just thinking about any possible impact
> on initialization order.

@Stable final
just means the VM can really truly assume the value will only ever change
from the default value once.
Like a per-field -XX:+TrustFinalNonStaticFields

More information about the core-libs-dev mailing list