RFR: Here are some Thread cleanup patches

mandy chung mandy.chung at oracle.com
Wed Mar 28 09:32:15 UTC 2018

On 28/03/2018 4:28 AM, Martin Buchholz wrote:
 > The usual story when I change Thread.java is that I'm missing 
something and
 > I end up reverting, so I was extra careful this time.
 > 8200122: Remove unused field Thread.threadQ
 > http://cr.openjdk.java.net/~martin/webrevs/jdk/Thread-threadQ/
 > https://bugs.openjdk.java.net/browse/JDK-8200122

Looks fine.

 > 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 good too.

Did you see any performance difference with and without @Stable?


More information about the core-libs-dev mailing list