# HG changeset patch # User lucy # Date 1484921866 -3600 # Node ID a945a49bd5a7cf8674c21c9d5062d21f70e3474e # Parent 9e017f35599e424599adb913085a0bf979fd8a30 8175267: [s390] cleanup stub code "handler_for_unsafe_access" diff --git a/src/cpu/s390/vm/stubGenerator_s390.cpp b/src/cpu/s390/vm/stubGenerator_s390.cpp --- a/src/cpu/s390/vm/stubGenerator_s390.cpp +++ b/src/cpu/s390/vm/stubGenerator_s390.cpp @@ -623,26 +623,6 @@ #define __ (Verbose ? (_masm->block_comment(FILE_AND_LINE),_masm):_masm)-> #endif - //---------------------------------------------------------------------- - // The following routine generates a subroutine to throw an asynchronous - // UnknownError when an unsafe access gets a fault that could not be - // reasonably prevented by the programmer. (Example: SIGBUS/OBJERR.) - // - // Arguments: - // trapping PC: ?? - // - // Results: - // Posts an asynchronous exception, skips the trapping instruction. - // - address generate_handler_for_unsafe_access() { - StubCodeMark mark(this, "StubRoutines", "handler_for_unsafe_access"); - { - address start = __ pc(); - __ unimplemented("StubRoutines::handler_for_unsafe_access", 86); - return start; - } - } - // Support for uint StubRoutine::zarch::partial_subtype_check(Klass // sub, Klass super); // @@ -2461,8 +2441,6 @@ StubRoutines::_throw_IncompatibleClassChangeError_entry= generate_throw_exception("IncompatibleClassChangeError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_IncompatibleClassChangeError), false); StubRoutines::_throw_NullPointerException_at_call_entry= generate_throw_exception("NullPointerException at call throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_NullPointerException_at_call), false); - StubRoutines::zarch::_handler_for_unsafe_access_entry = generate_handler_for_unsafe_access(); - // Support for verify_oop (must happen after universe_init). StubRoutines::_verify_oop_subroutine_entry = generate_verify_oop_subroutine(); diff --git a/src/cpu/s390/vm/stubRoutines_s390.cpp b/src/cpu/s390/vm/stubRoutines_s390.cpp --- a/src/cpu/s390/vm/stubRoutines_s390.cpp +++ b/src/cpu/s390/vm/stubRoutines_s390.cpp @@ -33,8 +33,6 @@ // Implementation of the platform-specific part of StubRoutines - for // a description of how to extend it, see the stubRoutines.hpp file. -address StubRoutines::zarch::_handler_for_unsafe_access_entry = NULL; - address StubRoutines::zarch::_partial_subtype_check = NULL; // Comapct string intrinsics: Translate table for string inflate intrinsic. Used by trot instruction. diff --git a/src/cpu/s390/vm/stubRoutines_s390.hpp b/src/cpu/s390/vm/stubRoutines_s390.hpp --- a/src/cpu/s390/vm/stubRoutines_s390.hpp +++ b/src/cpu/s390/vm/stubRoutines_s390.hpp @@ -68,8 +68,6 @@ }; private: - static address _handler_for_unsafe_access_entry; - static int _atomic_memory_operation_lock; static address _partial_subtype_check; @@ -91,8 +89,6 @@ static int atomic_memory_operation_lock() { return _atomic_memory_operation_lock; } static void set_atomic_memory_operation_lock(int value) { _atomic_memory_operation_lock = value; } - static address handler_for_unsafe_access_entry() { return _handler_for_unsafe_access_entry; } - static address partial_subtype_check() { return _partial_subtype_check; } static void generate_load_crc_table_addr(MacroAssembler* masm, Register table);