mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8151605: Change warning() to log_warning(gc) in the GC code
Reviewed-by: jwilhelm, jmasa
This commit is contained in:
parent
608079eed1
commit
c4916d0f05
17 changed files with 62 additions and 66 deletions
|
@ -638,7 +638,7 @@ jlong PSMarkSweep::millis_since_last_gc() {
|
|||
jlong ret_val = now - _time_of_last_gc;
|
||||
// XXX See note in genCollectedHeap::millis_since_last_gc().
|
||||
if (ret_val < 0) {
|
||||
NOT_PRODUCT(warning("time warp: " JLONG_FORMAT, ret_val);)
|
||||
NOT_PRODUCT(log_warning(gc)("time warp: " JLONG_FORMAT, ret_val);)
|
||||
return 0;
|
||||
}
|
||||
return ret_val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue