comparison src/share/vm/graal/graalCompilerToVM.cpp @ 4439:f7251c729b31

profiling info first try
author Christian Haeubl <christian.haeubl@oracle.com>
date Thu, 19 Jan 2012 16:29:35 -0800
parents e0a4668c57a2
children 4e3aaf14cbc6
comparison
equal deleted inserted replaced
4288:2bc254976621 4439:f7251c729b31
871 set_int(env, config, "instanceHeaderPrototypeOffset", Klass::prototype_header_offset_in_bytes() + klassOopDesc::klass_part_offset_in_bytes()); 871 set_int(env, config, "instanceHeaderPrototypeOffset", Klass::prototype_header_offset_in_bytes() + klassOopDesc::klass_part_offset_in_bytes());
872 set_int(env, config, "threadExceptionOopOffset", in_bytes(JavaThread::exception_oop_offset())); 872 set_int(env, config, "threadExceptionOopOffset", in_bytes(JavaThread::exception_oop_offset()));
873 set_int(env, config, "threadExceptionPcOffset", in_bytes(JavaThread::exception_pc_offset())); 873 set_int(env, config, "threadExceptionPcOffset", in_bytes(JavaThread::exception_pc_offset()));
874 set_int(env, config, "threadMultiNewArrayStorage", in_bytes(JavaThread::graal_multinewarray_storage_offset())); 874 set_int(env, config, "threadMultiNewArrayStorage", in_bytes(JavaThread::graal_multinewarray_storage_offset()));
875 set_int(env, config, "classMirrorOffset", klassOopDesc::klass_part_offset_in_bytes() + Klass::java_mirror_offset_in_bytes()); 875 set_int(env, config, "classMirrorOffset", klassOopDesc::klass_part_offset_in_bytes() + Klass::java_mirror_offset_in_bytes());
876 set_int(env, config, "methodDataDataOffset", in_bytes(methodDataOopDesc::data_offset));
876 877
877 set_long(env, config, "debugStub", VmIds::addStub((address)warning)); 878 set_long(env, config, "debugStub", VmIds::addStub((address)warning));
878 set_long(env, config, "instanceofStub", VmIds::addStub(Runtime1::entry_for(Runtime1::slow_subtype_check_id))); 879 set_long(env, config, "instanceofStub", VmIds::addStub(Runtime1::entry_for(Runtime1::slow_subtype_check_id)));
879 set_long(env, config, "verifyPointerStub", VmIds::addStub(Runtime1::entry_for(Runtime1::graal_verify_pointer_id))); 880 set_long(env, config, "verifyPointerStub", VmIds::addStub(Runtime1::entry_for(Runtime1::graal_verify_pointer_id)));
880 set_long(env, config, "newInstanceStub", VmIds::addStub(Runtime1::entry_for(Runtime1::fast_new_instance_init_check_id))); 881 set_long(env, config, "newInstanceStub", VmIds::addStub(Runtime1::entry_for(Runtime1::fast_new_instance_init_check_id)));
983 #define TYPE "Lcom/oracle/max/cri/ri/RiType;" 984 #define TYPE "Lcom/oracle/max/cri/ri/RiType;"
984 #define RESOLVED_TYPE "Lcom/oracle/max/graal/hotspot/ri/HotSpotTypeResolved;" 985 #define RESOLVED_TYPE "Lcom/oracle/max/graal/hotspot/ri/HotSpotTypeResolved;"
985 #define METHOD "Lcom/oracle/max/cri/ri/RiMethod;" 986 #define METHOD "Lcom/oracle/max/cri/ri/RiMethod;"
986 #define RESOLVED_METHOD "Lcom/oracle/max/graal/hotspot/ri/HotSpotMethodResolved;" 987 #define RESOLVED_METHOD "Lcom/oracle/max/graal/hotspot/ri/HotSpotMethodResolved;"
987 #define REFLECT_METHOD "Ljava/lang/reflect/Method;" 988 #define REFLECT_METHOD "Ljava/lang/reflect/Method;"
988 #define TYPE_PROFILE "Lcom/oracle/max/cri/ri/RiTypeProfile;" 989 #define PROFILING_INFO "Lcom/oracle/max/cri/ri/RiProfilingInfo;"
989 #define SIGNATURE "Lcom/oracle/max/cri/ri/RiSignature;" 990 #define SIGNATURE "Lcom/oracle/max/cri/ri/RiSignature;"
990 #define FIELD "Lcom/oracle/max/cri/ri/RiField;" 991 #define FIELD "Lcom/oracle/max/cri/ri/RiField;"
991 #define RESOLVED_FIELD "Lcom/oracle/max/cri/ri/RiResolvedField;" 992 #define RESOLVED_FIELD "Lcom/oracle/max/cri/ri/RiResolvedField;"
992 #define CONSTANT_POOL "Lcom/oracle/max/cri/ri/RiConstantPool;" 993 #define CONSTANT_POOL "Lcom/oracle/max/cri/ri/RiConstantPool;"
993 #define EXCEPTION_HANDLERS "[Lcom/oracle/max/cri/ri/RiExceptionHandler;" 994 #define EXCEPTION_HANDLERS "[Lcom/oracle/max/cri/ri/RiExceptionHandler;"