Mercurial > hg > truffle
comparison src/share/vm/memory/genMarkSweep.cpp @ 14309:63a4eb8bcd23
8025856: Fix typos in the GC code
Summary: Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author | jwilhelm |
---|---|
date | Thu, 23 Jan 2014 14:47:23 +0100 |
parents | 870aedf4ba4f |
children | d166675568f6 |
comparison
equal
deleted
inserted
replaced
14308:870aedf4ba4f | 14309:63a4eb8bcd23 |
---|---|
146 // Update heap occupancy information which is used as | 146 // Update heap occupancy information which is used as |
147 // input to soft ref clearing policy at the next gc. | 147 // input to soft ref clearing policy at the next gc. |
148 Universe::update_heap_info_at_gc(); | 148 Universe::update_heap_info_at_gc(); |
149 | 149 |
150 // Update time of last gc for all generations we collected | 150 // Update time of last gc for all generations we collected |
151 // (which curently is all the generations in the heap). | 151 // (which currently is all the generations in the heap). |
152 // We need to use a monotonically non-deccreasing time in ms | 152 // We need to use a monotonically non-decreasing time in ms |
153 // or we will see time-warp warnings and os::javaTimeMillis() | 153 // or we will see time-warp warnings and os::javaTimeMillis() |
154 // does not guarantee monotonicity. | 154 // does not guarantee monotonicity. |
155 jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; | 155 jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; |
156 gch->update_time_of_last_gc(now); | 156 gch->update_time_of_last_gc(now); |
157 | 157 |