comparison src/share/vm/graal/graalCodeInstaller.cpp @ 4220:5c80ccb80036

Renaming of VMExits and VMEntries part 1.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Wed, 04 Jan 2012 20:59:11 +0100
parents 319860ae697a
children bcbb918f5ac6
comparison
equal deleted inserted replaced
4214:35b05867c94a 4220:5c80ccb80036
790 assert(!obj.is_null(), ""); 790 assert(!obj.is_null(), "");
791 *((jobject*) operand) = JNIHandles::make_local(java_lang_Class::as_klassOop(HotSpotTypeResolved::javaMirror(obj))); 791 *((jobject*) operand) = JNIHandles::make_local(java_lang_Class::as_klassOop(HotSpotTypeResolved::javaMirror(obj)));
792 _instructions->relocate(instruction, oop_Relocation::spec_for_immediate(), Assembler::imm_operand); 792 _instructions->relocate(instruction, oop_Relocation::spec_for_immediate(), Assembler::imm_operand);
793 TRACE_graal_3("relocating (HotSpotType) at %016x/%016x", instruction, operand); 793 TRACE_graal_3("relocating (HotSpotType) at %016x/%016x", instruction, operand);
794 } else { 794 } else {
795 jobject value; 795 jobject value = JNIHandles::make_local(obj());
796 if (obj() == HotSpotProxy::DUMMY_CONSTANT_OBJ()) {
797 value = (jobject) Universe::non_oop_word();
798 } else {
799 value = JNIHandles::make_local(obj());
800 }
801 *((jobject*) operand) = value; 796 *((jobject*) operand) = value;
802 _instructions->relocate(instruction, oop_Relocation::spec_for_immediate(), Assembler::imm_operand); 797 _instructions->relocate(instruction, oop_Relocation::spec_for_immediate(), Assembler::imm_operand);
803 TRACE_graal_3("relocating (oop constant) at %016x/%016x", instruction, operand); 798 TRACE_graal_3("relocating (oop constant) at %016x/%016x", instruction, operand);
804 } 799 }
805 break; 800 break;