On 3/29/18 1:54 AM, Martin Buchholz wrote:


On Wed, Mar 28, 2018 at 4:30 AM, mandy chung <mandy.ch...@oracle.com <mailto:mandy.ch...@oracle.com>> wrote:


    I was wondering how Martin made the decision to mark it with
    @Stable. In addition to the above, the ID is mostly used in
    tracing.  I'd like to see performance number for adding @Stable.


OK, I had "no good reason" for using @Stable here, except that all these core library classes are fundamentally performance sensitive.  @Stable has been removed.

+1

8200123: Replace Thread.init with telescoping constructor
http://cr.openjdk.java.net/~martin/webrevs/jdk/Thread-init/ <http://cr.openjdk.java.net/%7Emartin/webrevs/jdk/Thread-init/>
https://bugs.openjdk.java.net/browse/JDK-8200123

Looks good.

Mandy

Reply via email to