mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8166317: InterpreterCodeSize should be computed
Reviewed-by: kvn, coleenp
This commit is contained in:
parent
7030019135
commit
a5d5806cb4
10 changed files with 88 additions and 31 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -58,6 +58,10 @@ void VM_Version_init();
|
|||
void os_init_globals(); // depends on VM_Version_init, before universe_init
|
||||
void stubRoutines_init1();
|
||||
jint universe_init(); // depends on codeCache_init and stubRoutines_init
|
||||
#if INCLUDE_ALL_GCS
|
||||
// depends on universe_init, must be before interpreter_init (currently only on SPARC)
|
||||
void g1_barrier_stubs_init() NOT_SPARC({});
|
||||
#endif
|
||||
void interpreter_init(); // before any methods loaded
|
||||
void invocationCounter_init(); // before any methods loaded
|
||||
void marksweep_init();
|
||||
|
@ -112,7 +116,10 @@ jint init_globals() {
|
|||
if (status != JNI_OK)
|
||||
return status;
|
||||
|
||||
interpreter_init(); // before any methods loaded
|
||||
#if INCLUDE_ALL_GCS
|
||||
g1_barrier_stubs_init(); // depends on universe_init, must be before interpreter_init
|
||||
#endif
|
||||
interpreter_init(); // before any methods loaded
|
||||
invocationCounter_init(); // before any methods loaded
|
||||
marksweep_init();
|
||||
accessFlags_init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue