RFR(S): JDK-8033911 Simplify instrumentation of FileInputStream and RandomAccessFile (original) (raw)
Staffan Larsen staffan.larsen at oracle.com
Fri Feb 7 02:46:07 PST 2014
- Previous message: hg: jdk8/tl/jdk: 8033590: java.util.Comparator::thenComparing has unnecessary type restriction
- Next message: RFR(S): JDK-8033911 Simplify instrumentation of FileInputStream and RandomAccessFile
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
A few of the public read and write methods in FileInputStream and RandomAccessFile are declared native. This means that it is hard to instrument them using byte code instrumentation. Changing the public methods to be to non-native and instead calling private native methods simplifies instrumentation.
webrev: http://cr.openjdk.java.net/~sla/8033911/webrev.00/ bug: https://bugs.openjdk.java.net/browse/JDK-8033911
Thanks, /Staffan
- Previous message: hg: jdk8/tl/jdk: 8033590: java.util.Comparator::thenComparing has unnecessary type restriction
- Next message: RFR(S): JDK-8033911 Simplify instrumentation of FileInputStream and RandomAccessFile
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]