<AWT Dev> RFR [9] 8146735: Move sun.misc.PerformanceLogger to sun.util.logging

Chris Hegarty chris.hegarty at oracle.com
Mon Jan 11 22:44:41 UTC 2016


> On 11 Jan 2016, at 21:27, Mandy Chung <mandy.chung at oracle.com> wrote:
> 
> On Jan 10, 2016, at 1:19 AM, Chris Hegarty <chris.hegarty at oracle.com> wrote:
>> 
>> In preparation for JEP 260, and as per the suggestion over on the core libs[1],
>> sun.misc.PerformanceLogger should be moved to sun.util.logging. 
>> 
>> http://cr.openjdk.java.net/~chegar/8146735/
> 
> Why not moving it to java.desktop

Alan had suggested sun.util.logging, and it is already exported
to java.desktop.

> perhaps sun.awt.util.PerformanceLogger?

I have no strong preference either way.

> Are you thinking to keep in the base for the future java.base class to use?

No.

> No one uses this class since it was added and it’s good indication that it may unlikely be used by others.

Ok.

> In the future I think we should use System.Logger instead.

Right, maybe a future issue could address this.

-Chris.



More information about the awt-dev mailing list