提交 3f60fa9c 编写于 作者: L lucy

8221482: Initialize VMRegImpl::regName[] earlier to prevent assert during PrintStubCode

Reviewed-by: kvn
上级 ee320703
......@@ -119,6 +119,7 @@ jint init_globals() {
accessFlags_init();
templateTable_init();
InterfaceSupport_init();
VMRegImpl::set_regName(); // need this before generate_stubs (for printing oop maps).
SharedRuntime::generate_stubs();
universe2_init(); // dependent on codeCache_init and stubRoutines_init1
javaClasses_init();// must happen after vtable initialization, before referenceProcessor_init
......@@ -136,7 +137,6 @@ jint init_globals() {
if (!compileBroker_init()) {
return JNI_EINVAL;
}
VMRegImpl::set_regName();
if (!universe_post_init()) {
return JNI_ERR;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册