RFR (S) 8059677: Thread.getName() instantiates Strings

Alan Bateman Alan.Bateman at oracle.com
Mon Nov 10 14:30:33 UTC 2014


On 10/11/2014 13:53, Chris Hegarty wrote:
>
> If there was previous discussion on this, that revealed some 
> substantial issue, that would be great, but I can't recall, or find, 
> it now.
>
> Hotspot express, and the desire for hotspot to run with different 
> library versions, would certainly cause complication, but I don't 
> believe that is an issue now.
>
> Just on that, the library changes are minimal, and if this were to 
> proceed then they can accompany the hotspot change, as they make their 
> way into jdk9/dev.
>
I remember the previous discussion on this and at the time it was just 
too troublesome to try to coordinate the change to hotspot + jdk. So a 
jdk-only change was pushed to address the last issue in this area, the 
issue of changing it from char[] to String was kicked down the road.

-Alan



More information about the core-libs-dev mailing list