Preliminary review: Adding tracing of I/O calls

Staffan Larsen staffan.larsen at oracle.com
Thu Nov 8 08:44:48 UTC 2012


On 7 nov 2012, at 23:22, mark.reinhold at oracle.com wrote:

> 2012/11/2 11:36 -0700, staffan.larsen at oracle.com:
>> Webrev: http://cr.openjdk.java.net/~sla/iotrace/webrev.00/
> 
> Who (or what) is the intended consumer of the sun.misc.IoTrace and
> IoTraceListener APIs?  In other words, are these meant to be stable
> external interfaces that we're going to support for use by arbitrary
> code over the long term?

The primary intended consumer is Java Flight Recorder which is JDK internal.

> The reason I ask is that sun.misc is likely to go away in JDK 9, as
> part of the modularization work.  If these APIs are meant to be used
> by any code outside of the JDK then we should probably put them in
> a more appropriate package now in order to avoid pain later on.

I don't have any preferences. Can you suggest a better package?

Thanks,
/Staffan




More information about the core-libs-dev mailing list