RFR [9] Move sun.misc.Perf* classes to jdk.internal.perf
Mandy Chung
mandy.chung at oracle.com
Fri Jan 8 20:20:20 UTC 2016
> On Jan 8, 2016, at 11:09 AM, Chris Hegarty <chris.hegarty at oracle.com> 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/
sun.misc.PerformanceLogger was added for java.desktop module to use. I’d suggest to move it to java.desktop.
I assume this patch will go into jdk9/hs-rt instead of jdk9/dev. It may be better to separate the change to use jdk.internal.ref.CleanerFactory as a separate changeset that will allow it to go in sooner.
Mandy
More information about the core-libs-dev
mailing list