mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8221482: Initialize VMRegImpl::regName[] earlier to prevent assert during PrintStubCode
Reviewed-by: kvn
This commit is contained in:
parent
00df041948
commit
8cdf747187
1 changed files with 1 additions and 1 deletions
|
@ -122,6 +122,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
|
||||
|
@ -139,7 +140,6 @@ jint init_globals() {
|
|||
if (!compileBroker_init()) {
|
||||
return JNI_EINVAL;
|
||||
}
|
||||
VMRegImpl::set_regName();
|
||||
|
||||
if (!universe_post_init()) {
|
||||
return JNI_ERR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue