-
Bug
-
Resolution: Fixed
-
P5
-
11
-
b16
-
Not verified
There are several native methods in ObjectInputStream and ObjectOutputStream:
ObjectInputStream.bytesToFloats
ObjectInputStream.bytesToDoubles
ObjectOutputStream.floatsToBytes
ObjectOutputStream.doublesToBytes
Each of these method has a comment of the following form near the native method declaration in the corresponding .java file:
// REMIND: remove once hotspot inlines Float.intBitsToFloat
The methods
Float.floatToIntBits
Float.intBitsToFloat
Double.doubleToLongBits
Double.longBitsToDouble
are all annotated with @HotSpotIntrinsicCandidate so this might indicate that the "inlining" being awaited in the comment has been fulfilled. If so, the serialization native methods can be removed.
ObjectInputStream.bytesToFloats
ObjectInputStream.bytesToDoubles
ObjectOutputStream.floatsToBytes
ObjectOutputStream.doublesToBytes
Each of these method has a comment of the following form near the native method declaration in the corresponding .java file:
// REMIND: remove once hotspot inlines Float.intBitsToFloat
The methods
Float.floatToIntBits
Float.intBitsToFloat
Double.doubleToLongBits
Double.longBitsToDouble
are all annotated with @HotSpotIntrinsicCandidate so this might indicate that the "inlining" being awaited in the comment has been fulfilled. If so, the serialization native methods can be removed.
- relates to
-
JDK-8249612 Remove unused ISNANF and ISNAND from jdk_util_md.h
-
- Resolved
-