RFR: 8060130: Simplify the synchronization of defining and getting java.lang.Package

Bernd Eckenfels ecki at zusammenkunft.net
Mon Oct 13 01:24:41 UTC 2014

Am Fri, 10 Oct 2014 17:31:41 -0700
schrieb Mandy Chung <mandy.chung at oracle.com>:
> I agree with David that getting Package objects are not performance
> critical. On the other hand, the code defining/getting Packages is
> old and deserves some cleanup especially the synchronization part.

Hmm.. isnt the package logic part of the ClassLoader (defineClass)
especially around sealing and security manager? So it would be at
least performance critical for startup time?


More information about the core-libs-dev mailing list