mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8025856: Fix typos in the GC code
Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
This commit is contained in:
parent
4c7c3f0613
commit
81ba2e32c0
150 changed files with 524 additions and 545 deletions
|
@ -661,7 +661,7 @@ void PSMarkSweep::mark_sweep_phase4() {
|
|||
}
|
||||
|
||||
jlong PSMarkSweep::millis_since_last_gc() {
|
||||
// We need a monotonically non-deccreasing time in ms but
|
||||
// We need a monotonically non-decreasing time in ms but
|
||||
// os::javaTimeMillis() does not guarantee monotonicity.
|
||||
jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC;
|
||||
jlong ret_val = now - _time_of_last_gc;
|
||||
|
@ -674,7 +674,7 @@ jlong PSMarkSweep::millis_since_last_gc() {
|
|||
}
|
||||
|
||||
void PSMarkSweep::reset_millis_since_last_gc() {
|
||||
// We need a monotonically non-deccreasing time in ms but
|
||||
// We need a monotonically non-decreasing time in ms but
|
||||
// os::javaTimeMillis() does not guarantee monotonicity.
|
||||
_time_of_last_gc = os::javaTimeNanos() / NANOSECS_PER_MILLISEC;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue