Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 9595:db2125285960
replaced wb_pre_call and wb_post_call assembler stubs with compiled stubs (GRAAL-81)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 07 May 2013 01:53:01 +0200 |
parents | 743326387173 |
children | d5c2b20e9d73 |
comparison
equal
deleted
inserted
replaced
9594:743326387173 | 9595:db2125285960 |
---|---|
754 set_int("layoutHelperElementTypePrimitiveInPlace", (Klass::_lh_array_tag_type_value & ~Klass::_lh_array_tag_obj_value) << Klass::_lh_array_tag_shift); | 754 set_int("layoutHelperElementTypePrimitiveInPlace", (Klass::_lh_array_tag_type_value & ~Klass::_lh_array_tag_obj_value) << Klass::_lh_array_tag_shift); |
755 set_int("layoutHelperHeaderSizeShift", Klass::_lh_header_size_shift); | 755 set_int("layoutHelperHeaderSizeShift", Klass::_lh_header_size_shift); |
756 set_int("layoutHelperHeaderSizeMask", Klass::_lh_header_size_mask); | 756 set_int("layoutHelperHeaderSizeMask", Klass::_lh_header_size_mask); |
757 set_int("layoutHelperOffset", in_bytes(Klass::layout_helper_offset())); | 757 set_int("layoutHelperOffset", in_bytes(Klass::layout_helper_offset())); |
758 | 758 |
759 | |
760 set_address("wbPreCallStub", GraalRuntime::entry_for(GraalRuntime::wb_pre_call_id)); | |
761 set_address("wbPostCallStub", GraalRuntime::entry_for(GraalRuntime::wb_post_call_id)); | |
762 | |
763 set_address("inlineCacheMissStub", SharedRuntime::get_ic_miss_stub()); | 759 set_address("inlineCacheMissStub", SharedRuntime::get_ic_miss_stub()); |
764 set_address("handleDeoptStub", SharedRuntime::deopt_blob()->unpack()); | 760 set_address("handleDeoptStub", SharedRuntime::deopt_blob()->unpack()); |
765 set_address("javaTimeMillisStub", CAST_FROM_FN_PTR(address, os::javaTimeMillis)); | 761 set_address("javaTimeMillisStub", CAST_FROM_FN_PTR(address, os::javaTimeMillis)); |
766 set_address("javaTimeNanosStub", CAST_FROM_FN_PTR(address, os::javaTimeNanos)); | 762 set_address("javaTimeNanosStub", CAST_FROM_FN_PTR(address, os::javaTimeNanos)); |
767 set_address("arithmeticSinStub", CAST_FROM_FN_PTR(address, SharedRuntime::dsin)); | 763 set_address("arithmeticSinStub", CAST_FROM_FN_PTR(address, SharedRuntime::dsin)); |
789 set_address("createOutOfBoundsExceptionAddress", GraalRuntime::create_out_of_bounds_exception); | 785 set_address("createOutOfBoundsExceptionAddress", GraalRuntime::create_out_of_bounds_exception); |
790 set_address("logPrimitiveAddress", GraalRuntime::log_primitive); | 786 set_address("logPrimitiveAddress", GraalRuntime::log_primitive); |
791 set_address("logObjectAddress", GraalRuntime::log_object); | 787 set_address("logObjectAddress", GraalRuntime::log_object); |
792 set_address("logPrintfAddress", GraalRuntime::log_printf); | 788 set_address("logPrintfAddress", GraalRuntime::log_printf); |
793 set_address("vmErrorAddress", GraalRuntime::vm_error); | 789 set_address("vmErrorAddress", GraalRuntime::vm_error); |
790 set_address("writeBarrierPreAddress", GraalRuntime::write_barrier_pre); | |
791 set_address("writeBarrierPostAddress", GraalRuntime::write_barrier_post); | |
794 | 792 |
795 set_int("deoptReasonNone", Deoptimization::Reason_none); | 793 set_int("deoptReasonNone", Deoptimization::Reason_none); |
796 set_int("deoptReasonNullCheck", Deoptimization::Reason_null_check); | 794 set_int("deoptReasonNullCheck", Deoptimization::Reason_null_check); |
797 set_int("deoptReasonRangeCheck", Deoptimization::Reason_range_check); | 795 set_int("deoptReasonRangeCheck", Deoptimization::Reason_range_check); |
798 set_int("deoptReasonClassCheck", Deoptimization::Reason_class_check); | 796 set_int("deoptReasonClassCheck", Deoptimization::Reason_class_check); |