comparison src/share/vm/graal/graalCompilerToVM.cpp @ 21556:48c1ebd24120

renamed com.oracle.graal.api[meta|code] modules to com.oracle.jvmci.[meta|code] (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Wed, 27 May 2015 00:36:16 +0200
parents 5324104ac4f3
children
comparison
equal deleted inserted replaced
21555:d12eaef9af72 21556:48c1ebd24120
597 ResourceMark rm; 597 ResourceMark rm;
598 HandleMark hm; 598 HandleMark hm;
599 599
600 jlong nmethodValue = InstalledCode::address(hotspotInstalledCode); 600 jlong nmethodValue = InstalledCode::address(hotspotInstalledCode);
601 if (nmethodValue == 0L) { 601 if (nmethodValue == 0L) {
602 THROW_(vmSymbols::com_oracle_graal_api_code_InvalidInstalledCodeException(), NULL); 602 THROW_(vmSymbols::com_oracle_jvmci_code_InvalidInstalledCodeException(), NULL);
603 } 603 }
604 nmethod* nm = (nmethod*) (address) nmethodValue; 604 nmethod* nm = (nmethod*) (address) nmethodValue;
605 methodHandle mh = nm->method(); 605 methodHandle mh = nm->method();
606 Symbol* signature = mh->signature(); 606 Symbol* signature = mh->signature();
607 JavaCallArguments jca(mh->size_of_parameters()); 607 JavaCallArguments jca(mh->size_of_parameters());
1030 1030
1031 1031
1032 #define CC (char*) /*cast a literal from (const char*)*/ 1032 #define CC (char*) /*cast a literal from (const char*)*/
1033 #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &(c2v_ ## f)) 1033 #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &(c2v_ ## f))
1034 1034
1035 #define TYPE "Lcom/oracle/graal/api/meta/JavaType;" 1035 #define TYPE "Lcom/oracle/jvmci/meta/JavaType;"
1036 #define METHOD "Lcom/oracle/graal/api/meta/JavaMethod;" 1036 #define METHOD "Lcom/oracle/jvmci/meta/JavaMethod;"
1037 #define FIELD "Lcom/oracle/graal/api/meta/JavaField;" 1037 #define FIELD "Lcom/oracle/jvmci/meta/JavaField;"
1038 #define SPECULATION_LOG "Lcom/oracle/graal/api/code/SpeculationLog;" 1038 #define SPECULATION_LOG "Lcom/oracle/jvmci/code/SpeculationLog;"
1039 #define STRING "Ljava/lang/String;" 1039 #define STRING "Ljava/lang/String;"
1040 #define OBJECT "Ljava/lang/Object;" 1040 #define OBJECT "Ljava/lang/Object;"
1041 #define CLASS "Ljava/lang/Class;" 1041 #define CLASS "Ljava/lang/Class;"
1042 #define STACK_TRACE_ELEMENT "Ljava/lang/StackTraceElement;" 1042 #define STACK_TRACE_ELEMENT "Ljava/lang/StackTraceElement;"
1043 #define INSTALLED_CODE "Lcom/oracle/graal/api/code/InstalledCode;" 1043 #define INSTALLED_CODE "Lcom/oracle/jvmci/code/InstalledCode;"
1044 #define RESOLVED_METHOD "Lcom/oracle/graal/api/meta/ResolvedJavaMethod;" 1044 #define RESOLVED_METHOD "Lcom/oracle/jvmci/meta/ResolvedJavaMethod;"
1045 #define HS_RESOLVED_METHOD "Lcom/oracle/jvmci/hotspot/HotSpotResolvedJavaMethod;" 1045 #define HS_RESOLVED_METHOD "Lcom/oracle/jvmci/hotspot/HotSpotResolvedJavaMethod;"
1046 #define HS_COMPILED_CODE "Lcom/oracle/jvmci/hotspot/HotSpotCompiledCode;" 1046 #define HS_COMPILED_CODE "Lcom/oracle/jvmci/hotspot/HotSpotCompiledCode;"
1047 #define HS_CONFIG "Lcom/oracle/jvmci/hotspot/HotSpotVMConfig;" 1047 #define HS_CONFIG "Lcom/oracle/jvmci/hotspot/HotSpotVMConfig;"
1048 #define HS_STACK_FRAME_REF "Lcom/oracle/jvmci/hotspot/HotSpotStackFrameReference;" 1048 #define HS_STACK_FRAME_REF "Lcom/oracle/jvmci/hotspot/HotSpotStackFrameReference;"
1049 #define METASPACE_KLASS "J" 1049 #define METASPACE_KLASS "J"