RFR: 8003246: Add Supplier to ThreadLocal

Doug Lea dl at cs.oswego.edu
Fri Dec 7 14:27:36 UTC 2012


On 12/06/12 18:44, Remi Forax wrote:

> BTW, at some point, it will be a good idea to get ride of all these method
> access$000 in java.lang/java.util at least.
>

Maybe this is out of scope for this CR, but while in the
neighborhood of ThreadLocal, it could be done here.
There are a couple of annoying ones that kick in on any
compile of anything involving ThreadLocals (try running with
-XX:+PrintCompilation). To remove, replace "private" with
"final" for methods, and just kill "private" for fields.

-Doug






More information about the core-libs-dev mailing list