RFR (M): GRAAL-246: intrinsify Reflection.getCallerClass

Christian Thalinger christian.thalinger at oracle.com
Thu Apr 25 09:35:07 PDT 2013


On Apr 25, 2013, at 2:34 AM, Doug Simon <doug.simon at oracle.com> wrote:

> You should also make ReflectionGetCallerClassNode implement Canonicalizable so that the 'constantification' can happen earlier.

Indeed.  And it works too :-)  Is the lowering version actually used then?

Here the updated webrev:

http://cr.openjdk.java.net/~twisti/GRAAL-246

-- Chris

> 
> On Apr 25, 2013, at 6:08 AM, Christian Thalinger <christian.thalinger at oracle.com> wrote:
> 
>> [Now that the CallerSensitive changes have arrived in the jdk8 repository I finally had to time to finish this up.]
>> 
>> http://cr.openjdk.java.net/~twisti/GRAAL-246
>> 
>> GRAAL-246: intrinsify Reflection.getCallerClass
>> 
>> graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotResolvedJavaMethod.java
>> graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java
>> graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/ReflectionGetCallerClassNode.java
>> graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/ReflectionSubstitutions.java
>> graal/com.oracle.graal.phases/src/com/oracle/graal/phases/GraalOptions.java
>> src/share/vm/graal/graalCompilerToVM.cpp
>> src/share/vm/graal/graalJavaAccess.hpp
>> 
> 



More information about the graal-dev mailing list