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

Christian Tornqvist christian.tornqvist at oracle.com
Mon Sep 30 17:56:14 PDT 2013

Hi Mikael,

Looks good, thanks for cleaning this up.


-----Original Message-----
From: hotspot-dev-bounces at openjdk.java.net [mailto:hotspot-dev-bounces at openjdk.java.net] On Behalf Of Mikael Vidstedt
Sent: Monday, September 30, 2013 8:27 PM
To: hotspot-dev developers
Subject: RFR (S): 8024087: Remove dead JVM_{Get, Set}PrimitiveFieldValues functions


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