Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8098652 | emb-9 | Ed Nevill | P4 | Resolved | Fixed | team |
The method AdvancedThresholdPolicy::initialize in src/share/vm/runtime/advancedThresholdPolicy.cpp contains the following tuning for InlineSmallCode
// Some inlining tuning
#ifdef X86
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
FLAG_SET_DEFAULT(InlineSmallCode, 2000);
}
#endif
#ifdef SPARC
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
}
#endif
However, there is no tuning for aarch64 which defaults to 1000 which is suboptimal.
// Some inlining tuning
#ifdef X86
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
FLAG_SET_DEFAULT(InlineSmallCode, 2000);
}
#endif
#ifdef SPARC
if (FLAG_IS_DEFAULT(InlineSmallCode)) {
FLAG_SET_DEFAULT(InlineSmallCode, 2500);
}
#endif
However, there is no tuning for aarch64 which defaults to 1000 which is suboptimal.
- backported by
-
JDK-8098652 aarch64: AdvancedThresholdPolicy lacks tuning of InlineSmallCode size
-
- Resolved
-