mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erikj, coleenp, cjplummer
This commit is contained in:
parent
4106c6bc9b
commit
6009cf0793
131 changed files with 62914 additions and 519 deletions
|
@ -25,7 +25,6 @@
|
|||
#include "precompiled.hpp"
|
||||
#include "classfile/stringTable.hpp"
|
||||
#include "classfile/symbolTable.hpp"
|
||||
#include "code/codeCacheExtensions.hpp"
|
||||
#include "code/icBuffer.hpp"
|
||||
#include "gc/shared/collectedHeap.hpp"
|
||||
#include "interpreter/bytecodes.hpp"
|
||||
|
@ -105,20 +104,15 @@ jint init_globals() {
|
|||
classLoader_init1();
|
||||
compilationPolicy_init();
|
||||
codeCache_init();
|
||||
CodeCacheExtensions::initialize();
|
||||
VM_Version_init();
|
||||
CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::VMVersion);
|
||||
os_init_globals();
|
||||
stubRoutines_init1();
|
||||
CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::StubRoutines1);
|
||||
jint status = universe_init(); // dependent on codeCache_init and
|
||||
// stubRoutines_init1 and metaspace_init.
|
||||
if (status != JNI_OK)
|
||||
return status;
|
||||
|
||||
CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::Universe);
|
||||
interpreter_init(); // before any methods loaded
|
||||
CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::Interpreter);
|
||||
invocationCounter_init(); // before any methods loaded
|
||||
marksweep_init();
|
||||
accessFlags_init();
|
||||
|
@ -148,7 +142,6 @@ jint init_globals() {
|
|||
javaClasses_init(); // must happen after vtable initialization
|
||||
stubRoutines_init2(); // note: StubRoutines need 2-phase init
|
||||
MethodHandles::generate_adapters();
|
||||
CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::StubRoutines2);
|
||||
|
||||
#if INCLUDE_NMT
|
||||
// Solaris stack is walkable only after stubRoutines are set up.
|
||||
|
@ -162,7 +155,6 @@ jint init_globals() {
|
|||
CommandLineFlags::printFlags(tty, false, PrintFlagsRanges);
|
||||
}
|
||||
|
||||
CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::InitGlobals);
|
||||
return JNI_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue