8010309 : PlatformLogger: isLoggable performance / waste due to HashMap<Integer, Level> leads to Integer allocations (boxing)
bourges.laurent at gmail.com
Wed Mar 27 09:32:03 UTC 2013
Hi Mandy, Peter,
thanks for the review.
I wanted the patch to be small and only in PlatformLogger class without API
change to be easily backported to jdk7u.
Do you think this bug is JDK8 only ?
I submitted another patch concerning missing
PlatformLogger.isLoggable(level) in the JDK (java.net, java.awt mainly) but
it is not widely used as I thought first.
Maybe in the future, other projects or JDK parts will use it if it is no
more a performance bottleneck.
More information about the core-libs-dev