Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 9590:5f9c41cd3b1e
replaced monitorenter/monitorexit assembler stubs with compiled stubs (GRAAL-81)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 06 May 2013 22:37:00 +0200 |
parents | 7df076e74e8e |
children | 0381c7937e7a |
comparison
equal
deleted
inserted
replaced
9582:7df076e74e8e | 9590:5f9c41cd3b1e |
---|---|
760 set_address("wbPreCallStub", GraalRuntime::entry_for(GraalRuntime::wb_pre_call_id)); | 760 set_address("wbPreCallStub", GraalRuntime::entry_for(GraalRuntime::wb_pre_call_id)); |
761 set_address("wbPostCallStub", GraalRuntime::entry_for(GraalRuntime::wb_post_call_id)); | 761 set_address("wbPostCallStub", GraalRuntime::entry_for(GraalRuntime::wb_post_call_id)); |
762 | 762 |
763 set_address("inlineCacheMissStub", SharedRuntime::get_ic_miss_stub()); | 763 set_address("inlineCacheMissStub", SharedRuntime::get_ic_miss_stub()); |
764 set_address("handleDeoptStub", SharedRuntime::deopt_blob()->unpack()); | 764 set_address("handleDeoptStub", SharedRuntime::deopt_blob()->unpack()); |
765 set_address("monitorEnterStub", GraalRuntime::entry_for(GraalRuntime::monitorenter_id)); | |
766 set_address("monitorExitStub", GraalRuntime::entry_for(GraalRuntime::monitorexit_id)); | |
767 set_address("vmErrorStub", GraalRuntime::entry_for(GraalRuntime::vm_error_id)); | 765 set_address("vmErrorStub", GraalRuntime::entry_for(GraalRuntime::vm_error_id)); |
768 set_address("createNullPointerExceptionStub", GraalRuntime::entry_for(GraalRuntime::create_null_pointer_exception_id)); | 766 set_address("createNullPointerExceptionStub", GraalRuntime::entry_for(GraalRuntime::create_null_pointer_exception_id)); |
769 set_address("createOutOfBoundsExceptionStub", GraalRuntime::entry_for(GraalRuntime::create_out_of_bounds_exception_id)); | 767 set_address("createOutOfBoundsExceptionStub", GraalRuntime::entry_for(GraalRuntime::create_out_of_bounds_exception_id)); |
770 set_address("javaTimeMillisStub", CAST_FROM_FN_PTR(address, os::javaTimeMillis)); | 768 set_address("javaTimeMillisStub", CAST_FROM_FN_PTR(address, os::javaTimeMillis)); |
771 set_address("javaTimeNanosStub", CAST_FROM_FN_PTR(address, os::javaTimeNanos)); | 769 set_address("javaTimeNanosStub", CAST_FROM_FN_PTR(address, os::javaTimeNanos)); |
789 set_address("vmMessageAddress", GraalRuntime::vm_message); | 787 set_address("vmMessageAddress", GraalRuntime::vm_message); |
790 set_address("identityHashCodeAddress", GraalRuntime::identity_hash_code); | 788 set_address("identityHashCodeAddress", GraalRuntime::identity_hash_code); |
791 set_address("exceptionHandlerForPcAddress", GraalRuntime::exception_handler_for_pc); | 789 set_address("exceptionHandlerForPcAddress", GraalRuntime::exception_handler_for_pc); |
792 set_address("exceptionHandlerForReturnAddressAddress", SharedRuntime::exception_handler_for_return_address); | 790 set_address("exceptionHandlerForReturnAddressAddress", SharedRuntime::exception_handler_for_return_address); |
793 set_address("osrMigrationEndAddress", SharedRuntime::OSR_migration_end); | 791 set_address("osrMigrationEndAddress", SharedRuntime::OSR_migration_end); |
792 set_address("monitorenterAddress", GraalRuntime::monitorenter); | |
793 set_address("monitorexitAddress", GraalRuntime::monitorexit); | |
794 | 794 |
795 set_int("deoptReasonNone", Deoptimization::Reason_none); | 795 set_int("deoptReasonNone", Deoptimization::Reason_none); |
796 set_int("deoptReasonNullCheck", Deoptimization::Reason_null_check); | 796 set_int("deoptReasonNullCheck", Deoptimization::Reason_null_check); |
797 set_int("deoptReasonRangeCheck", Deoptimization::Reason_range_check); | 797 set_int("deoptReasonRangeCheck", Deoptimization::Reason_range_check); |
798 set_int("deoptReasonClassCheck", Deoptimization::Reason_class_check); | 798 set_int("deoptReasonClassCheck", Deoptimization::Reason_class_check); |