< prev index next >

src/hotspot/share/gc/z/zPage.inline.hpp

Print this page

        

@@ -157,11 +157,11 @@
 inline uint64_t ZPage::last_used() const {
   return _last_used;
 }
 
 inline void ZPage::set_last_used() {
-  _last_used = os::elapsedTime();
+  _last_used = ceil(os::elapsedTime());
 }
 
 inline bool ZPage::is_in(uintptr_t addr) const {
   const uintptr_t offset = ZAddress::offset(addr);
   return offset >= start() && offset < top();
< prev index next >