Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1x/c1x_VMEntries.cpp @ 2874:d90bf514d647
Renamed packages.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 08 Jun 2011 08:59:54 +0200 |
parents | 027adfafd47e |
children |
comparison
equal
deleted
inserted
replaced
2873:810e2d253e00 | 2874:d90bf514d647 |
---|---|
541 BasicType basicTypes[] = { T_BOOLEAN, T_BYTE, T_SHORT, T_CHAR, T_INT, T_FLOAT, T_LONG, T_DOUBLE, T_OBJECT }; | 541 BasicType basicTypes[] = { T_BOOLEAN, T_BYTE, T_SHORT, T_CHAR, T_INT, T_FLOAT, T_LONG, T_DOUBLE, T_OBJECT }; |
542 int basicTypeCount = sizeof(basicTypes) / sizeof(BasicType); | 542 int basicTypeCount = sizeof(basicTypes) / sizeof(BasicType); |
543 | 543 |
544 // public HotSpotVMConfig getConfiguration(); | 544 // public HotSpotVMConfig getConfiguration(); |
545 JNIEXPORT jobject JNICALL Java_com_oracle_graal_runtime_VMEntries_getConfiguration(JNIEnv *env, jobject) { | 545 JNIEXPORT jobject JNICALL Java_com_oracle_graal_runtime_VMEntries_getConfiguration(JNIEnv *env, jobject) { |
546 jclass klass = env->FindClass("com/oracle/graal/runtime/HotSpotVMConfig"); | 546 jclass klass = env->FindClass("com/oracle/max/graal/runtime/HotSpotVMConfig"); |
547 assert(klass != NULL, "HotSpot vm config class not found"); | 547 assert(klass != NULL, "HotSpot vm config class not found"); |
548 jobject config = env->AllocObject(klass); | 548 jobject config = env->AllocObject(klass); |
549 #ifdef _WIN64 | 549 #ifdef _WIN64 |
550 set_boolean(env, config, "windowsOs", true); | 550 set_boolean(env, config, "windowsOs", true); |
551 #else | 551 #else |
657 #define CC (char*) /*cast a literal from (const char*)*/ | 657 #define CC (char*) /*cast a literal from (const char*)*/ |
658 #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &f) | 658 #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &f) |
659 | 659 |
660 #define PROXY "J" | 660 #define PROXY "J" |
661 #define TYPE "Lcom/sun/cri/ri/RiType;" | 661 #define TYPE "Lcom/sun/cri/ri/RiType;" |
662 #define RESOLVED_TYPE "Lcom/oracle/graal/runtime/HotSpotTypeResolved;" | 662 #define RESOLVED_TYPE "Lcom/oracle/max/graal/runtime/HotSpotTypeResolved;" |
663 #define METHOD "Lcom/sun/cri/ri/RiMethod;" | 663 #define METHOD "Lcom/sun/cri/ri/RiMethod;" |
664 #define SIGNATURE "Lcom/sun/cri/ri/RiSignature;" | 664 #define SIGNATURE "Lcom/sun/cri/ri/RiSignature;" |
665 #define FIELD "Lcom/sun/cri/ri/RiField;" | 665 #define FIELD "Lcom/sun/cri/ri/RiField;" |
666 #define CONSTANT_POOL "Lcom/sun/cri/ri/RiConstantPool;" | 666 #define CONSTANT_POOL "Lcom/sun/cri/ri/RiConstantPool;" |
667 #define EXCEPTION_HANDLERS "[Lcom/sun/cri/ri/RiExceptionHandler;" | 667 #define EXCEPTION_HANDLERS "[Lcom/sun/cri/ri/RiExceptionHandler;" |
668 #define TARGET_METHOD "Lcom/oracle/graal/runtime/HotSpotTargetMethod;" | 668 #define TARGET_METHOD "Lcom/oracle/max/graal/runtime/HotSpotTargetMethod;" |
669 #define CONFIG "Lcom/oracle/graal/runtime/HotSpotVMConfig;" | 669 #define CONFIG "Lcom/oracle/max/graal/runtime/HotSpotVMConfig;" |
670 #define HS_METHOD "Lcom/oracle/graal/runtime/HotSpotMethod;" | 670 #define HS_METHOD "Lcom/oracle/max/graal/runtime/HotSpotMethod;" |
671 #define CI_CONSTANT "Lcom/sun/cri/ci/CiConstant;" | 671 #define CI_CONSTANT "Lcom/sun/cri/ci/CiConstant;" |
672 #define CI_KIND "Lcom/sun/cri/ci/CiKind;" | 672 #define CI_KIND "Lcom/sun/cri/ci/CiKind;" |
673 #define STRING "Ljava/lang/String;" | 673 #define STRING "Ljava/lang/String;" |
674 #define OBJECT "Ljava/lang/Object;" | 674 #define OBJECT "Ljava/lang/Object;" |
675 #define CLASS "Ljava/lang/Class;" | 675 #define CLASS "Ljava/lang/Class;" |