< prev index next >

src/hotspot/share/gc/z/zPageCache.cpp

Print this page

        

@@ -328,11 +328,11 @@
 
   return cl._flushed;
 }
 
 void ZPageCache::set_last_commit() {
-  _last_commit = os::elapsedTime();
+  _last_commit = ceil(os::elapsedTime());
 }
 
 void ZPageCache::pages_do(ZPageClosure* cl) const {
   // Small
   ZPerNUMAConstIterator<ZList<ZPage> > iter_numa(&_small);
< prev index next >