mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-10 12:37:09 +00:00
8386202: Genshen: Incorrect units in regulator thread
This commit is contained in:
parent
21482fa7db
commit
b3b7f9f7dc
@ -132,7 +132,7 @@ void ShenandoahRegulatorThread::regulator_sleep() {
|
||||
_young_heuristics->update_should_start_query_times(_most_recent_wake_time, double(_sleep) / 1000.0);
|
||||
if (LogTarget(Debug, gc, thread)::is_enabled()) {
|
||||
double elapsed = _most_recent_wake_time - before_sleep_time;
|
||||
double hiccup = elapsed - double(_sleep);
|
||||
double hiccup = elapsed - double(_sleep) / 1000.0;
|
||||
if (hiccup > 0.001) {
|
||||
log_debug(gc, thread)("Regulator hiccup time: %.3fs", hiccup);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user