Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/hotspot/share/compiler/compilerDefinitions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,10 @@ void CompilerConfig::ergo_initialize() {
if (!EliminateLocks) {
EliminateNestedLocks = false;
}
if (!Inline) {
if (!Inline || !IncrementalInline) {
IncrementalInline = false;
IncrementalInlineMH = false;
IncrementalInlineVirtual = false;
}
#ifndef PRODUCT
if (!IncrementalInline) {
Expand Down
6 changes: 6 additions & 0 deletions src/hotspot/share/opto/c2_globals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,12 @@
product(bool, IncrementalInline, true, \
"do post parse inlining") \
\
product(bool, IncrementalInlineMH, true, DIAGNOSTIC, \
"do post parse inlining of method handle calls") \
\
product(bool, IncrementalInlineVirtual, true, DIAGNOSTIC, \
"do post parse inlining of virtual calls") \
\
develop(bool, AlwaysIncrementalInline, false, \
"do all inlining incrementally") \
\
Expand Down
Loading