src/share/vm/memory/genMarkSweep.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/memory/genMarkSweep.cpp	Wed Jan 15 01:41:56 2014
--- new/src/share/vm/memory/genMarkSweep.cpp	Wed Jan 15 01:41:56 2014

*** 146,157 **** --- 146,157 ---- // Update heap occupancy information which is used as // input to soft ref clearing policy at the next gc. Universe::update_heap_info_at_gc(); // Update time of last gc for all generations we collected ! // (which curently is all the generations in the heap). ! // We need to use a monotonically non-deccreasing time in ms ! // (which currently is all the generations in the heap). ! // We need to use a monotonically non-decreasing time in ms // or we will see time-warp warnings and os::javaTimeMillis() // does not guarantee monotonicity. jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; gch->update_time_of_last_gc(now);

src/share/vm/memory/genMarkSweep.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File