void generate_all() { // Generates all stubs and initializes the entry points // These entry points require SharedInfo::stack0 to be set up in // non-core builds and need to be relocatable, so they each // fabricate a RuntimeStub internally. StubRoutines::_throw_AbstractMethodError_entry = UnimplementedStub(); StubRoutines::_throw_ArithmeticException_entry = UnimplementedStub(); StubRoutines::_throw_NullPointerException_entry = UnimplementedStub(); StubRoutines::_throw_NullPointerException_at_call_entry = UnimplementedStub(); StubRoutines::_throw_StackOverflowError_entry = UnimplementedStub(); // support for verify_oop (must happen after universe_init) StubRoutines::_verify_oop_subroutine_entry = UnimplementedStub(); // arraycopy stubs used by compilers generate_arraycopy_stubs(); }
void generate_all() { // Generates all stubs and initializes the entry points // These entry points require SharedInfo::stack0 to be set up in // non-core builds and need to be relocatable, so they each // fabricate a RuntimeStub internally. StubRoutines::_throw_AbstractMethodError_entry = ShouldNotCallThisStub(); StubRoutines::_throw_NullPointerException_at_call_entry = ShouldNotCallThisStub(); StubRoutines::_throw_StackOverflowError_entry = ShouldNotCallThisStub(); // support for verify_oop (must happen after universe_init) StubRoutines::_verify_oop_subroutine_entry = ShouldNotCallThisStub(); // arraycopy stubs used by compilers generate_arraycopy_stubs(); // Safefetch stubs. pthread_key_create(&g_jmpbuf_key, NULL); StubRoutines::_safefetch32_entry = CAST_FROM_FN_PTR(address, StubGenerator::SafeFetch32); StubRoutines::_safefetch32_fault_pc = NULL; StubRoutines::_safefetch32_continuation_pc = NULL; StubRoutines::_safefetchN_entry = CAST_FROM_FN_PTR(address, StubGenerator::SafeFetchN); StubRoutines::_safefetchN_fault_pc = NULL; StubRoutines::_safefetchN_continuation_pc = NULL; }