RFR (S): 8024087: Remove dead JVM_{Get, Set}PrimitiveFieldValues functions

Mikael Vidstedt mikael.vidstedt at oracle.com
Mon Sep 30 17:26:40 PDT 2013


Please review:

Bug: https://bugs.openjdk.java.net/browse/JDK-8024087
Webrev: http://cr.openjdk.java.net/~mikael/webrevs/8024087/webrev.00/webrev/


This change removes two JVM_* functions - JVM_GetPrimitiveFieldValues 
and JVM_SetPrimitiveFieldValues. These functions were used back in JDK 
1.3.1 to intrinsify two java.io.Object{Input,Output}Stream methods, but 
the Java code was rewritten in the JDK 1.4 time frame and the 
corresponding Java methods are no longer there, meaning this code is 
well and truly dead and has been so for many years.

On top of that the functions only have prototypes declared in 
jvm_misc.hpp (as opposed to jvm.h etc), meaning the risk of somebody 
depending on these functions is further limited. My non-extensive 
(re-)search of the web appears to confirm this.


More information about the hotspot-dev mailing list