RFR [9] Move sun.misc.Perf* classes to jdk.internal.perf

Chris Hegarty chris.hegarty at oracle.com
Fri Jan 8 19:26:05 UTC 2016

On 8 Jan 2016, at 19:22, Roger Riggs <Roger.Riggs at oracle.com> wrote:

> Hi Chris,
> Looks fine.

Thanks Roger.

> Is there any particular reason in XToolKit.java that sun.misc.ManagedLocalsThread
> is both imported and fully qualified in the code  (line 282+)

That is temporary. I’m in the process of filling a bug to replace all
usages of ManagedLocalsThread with the new shiny Thread ( 
suppress inheriting inheritable thread-local initial values ).

> The conversion to use the new Cleaner looks correct too; though I haven't pushed it yet.
> (trying to refactor to avoid exposing, too much, implementation as public methods)

Got ya.


> Roger
> On 1/8/2016 2:09 PM, Chris Hegarty wrote:
>> There are a small number, three, of classes in sun.misc that are used
>> by the platform for monitor and logging of the core platform itself. In
>> preparation for JEP 260, these can be moved into a new internal
>> package, jdk.internal.perf.
>> http://cr.openjdk.java.net/~chegar/sun.misc.Perf/
>> -Chris.

More information about the core-libs-dev mailing list