src/hotspot/share/c1/c1_LIRGenerator.cpp
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File
*** old/src/hotspot/share/c1/c1_LIRGenerator.cpp Thu May 3 12:25:33 2018
--- new/src/hotspot/share/c1/c1_LIRGenerator.cpp Thu May 3 12:25:33 2018
*** 3246,3256 ****
--- 3246,3256 ----
CodeEmitInfo* info = state_for(x, x->state(), true);
// Notify the runtime very infrequently only to take care of counter overflows
int freq_log = Tier23InlineeNotifyFreqLog;
double scale;
if (_method->has_option_value("CompileThresholdScaling", scale)) {
! freq_log = Arguments::scaled_freq_log(freq_log, scale);
! freq_log = CompilerConfig::scaled_freq_log(freq_log, scale);
}
increment_event_counter_impl(info, x->inlinee(), right_n_bits(freq_log), InvocationEntryBci, false, true);
}
}
*** 3265,3275 ****
--- 3265,3275 ----
ShouldNotReachHere();
}
// Increment the appropriate invocation/backedge counter and notify the runtime.
double scale;
if (_method->has_option_value("CompileThresholdScaling", scale)) {
! freq_log = Arguments::scaled_freq_log(freq_log, scale);
! freq_log = CompilerConfig::scaled_freq_log(freq_log, scale);
}
increment_event_counter_impl(info, info->scope()->method(), right_n_bits(freq_log), bci, backedge, true);
}
void LIRGenerator::decrement_age(CodeEmitInfo* info) {
src/hotspot/share/c1/c1_LIRGenerator.cpp
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File