3007 StubRoutines::_verify_oop_subroutine_entry = generate_verify_oop(); |
3007 StubRoutines::_verify_oop_subroutine_entry = generate_verify_oop(); |
3008 |
3008 |
3009 // arraycopy stubs used by compilers |
3009 // arraycopy stubs used by compilers |
3010 generate_arraycopy_stubs(); |
3010 generate_arraycopy_stubs(); |
3011 |
3011 |
3012 // generic method handle stubs |
|
3013 if (EnableMethodHandles && SystemDictionary::MethodHandle_klass() != NULL) { |
|
3014 for (MethodHandles::EntryKind ek = MethodHandles::_EK_FIRST; |
|
3015 ek < MethodHandles::_EK_LIMIT; |
|
3016 ek = MethodHandles::EntryKind(1 + (int)ek)) { |
|
3017 StubCodeMark mark(this, "MethodHandle", MethodHandles::entry_name(ek)); |
|
3018 MethodHandles::generate_method_handle_stub(_masm, ek); |
|
3019 } |
|
3020 } |
|
3021 |
|
3022 generate_math_stubs(); |
3012 generate_math_stubs(); |
3023 } |
3013 } |
3024 |
3014 |
3025 public: |
3015 public: |
3026 StubGenerator(CodeBuffer* code, bool all) : StubCodeGenerator(code) { |
3016 StubGenerator(CodeBuffer* code, bool all) : StubCodeGenerator(code) { |