Request for reviews (M): 7085860: JSR 292: implement CallSite.setTargetNormal and setTargetVolatile as native methods

Christian Thalinger christian.thalinger at oracle.com
Wed Sep 7 06:37:05 PDT 2011


http://cr.openjdk.java.net/~twisti/7085860/

7085860: JSR 292: implement CallSite.setTargetNormal and setTargetVolatile as native methods
Reviewed-by:

The current push notification of CallSites disallows the compilation
of CallSite.setTargetNormal and setTargetVolatile to get correct
behavior.  It would be much easier and cleaner if these two methods
were native methods in the JVM.

The obsolete code will be removed after the JDK changes have landed
with:

7087357: JSR 292: remove obsolete code after 7085860

src/share/vm/classfile/javaClasses.cpp
src/share/vm/classfile/javaClasses.hpp
src/share/vm/oops/oop.hpp
src/share/vm/oops/oop.inline.hpp
src/share/vm/prims/methodHandles.cpp
jdk/src/share/classes/java/lang/invoke/CallSite.java
jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java



More information about the hotspot-compiler-dev mailing list