mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8173037
: V [jvm.dll+0x2343fc] GraphBuilder::args_list_for_profiling+0x8c
Disabled WB Compilaton at unsupported levels. Reviewed-by: kvn
This commit is contained in:
parent
a81872e33e
commit
165af4bdae
3 changed files with 5 additions and 3 deletions
|
@ -68,7 +68,6 @@ void set_client_compilation_mode() {
|
|||
CompLevel_initial_compile = CompLevel_simple;
|
||||
FLAG_SET_ERGO(bool, TieredCompilation, false);
|
||||
FLAG_SET_ERGO(bool, ProfileInterpreter, false);
|
||||
FLAG_SET_ERGO(bool, NeverActAsServerClassMachine, true);
|
||||
#if INCLUDE_JVMCI
|
||||
FLAG_SET_ERGO(bool, EnableJVMCI, false);
|
||||
FLAG_SET_ERGO(bool, UseJVMCICompiler, false);
|
||||
|
@ -76,6 +75,9 @@ void set_client_compilation_mode() {
|
|||
#if INCLUDE_AOT
|
||||
FLAG_SET_ERGO(bool, UseAOT, false);
|
||||
#endif
|
||||
if (FLAG_IS_DEFAULT(NeverActAsServerClassMachine)) {
|
||||
FLAG_SET_ERGO(bool, NeverActAsServerClassMachine, true);
|
||||
}
|
||||
if (FLAG_IS_DEFAULT(InitialCodeCacheSize)) {
|
||||
FLAG_SET_ERGO(uintx, InitialCodeCacheSize, 160*K);
|
||||
}
|
||||
|
|
|
@ -765,7 +765,7 @@ WB_END
|
|||
|
||||
bool WhiteBox::compile_method(Method* method, int comp_level, int bci, Thread* THREAD) {
|
||||
// Screen for unavailable/bad comp level or null method
|
||||
if (method == NULL || comp_level > TieredStopAtLevel ||
|
||||
if (method == NULL || comp_level > MIN2((CompLevel) TieredStopAtLevel, CompLevel_highest_tier) ||
|
||||
CompileBroker::compiler(comp_level) == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -1829,7 +1829,7 @@ bool Arguments::compilation_mode_selected() {
|
|||
void Arguments::select_compilation_mode_ergonomically() {
|
||||
#if defined(_WINDOWS) && !defined(_LP64)
|
||||
if (FLAG_IS_DEFAULT(NeverActAsServerClassMachine)) {
|
||||
NeverActAsServerClassMachine = true;
|
||||
FLAG_SET_ERGO(bool, NeverActAsServerClassMachine, true);
|
||||
}
|
||||
#endif
|
||||
if (NeverActAsServerClassMachine) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue