hotspot/src/share/vm/memory/genCollectedHeap.cpp
changeset 29800 fa5f7a2bf717
parent 29794 2dcbd946f9a8
child 29802 d485440c958a
equal deleted inserted replaced
29799:3ad47a56094a 29800:fa5f7a2bf717
  1335   // provided the underlying platform provides such a time source
  1335   // provided the underlying platform provides such a time source
  1336   // (and it is bug free). So we still have to guard against getting
  1336   // (and it is bug free). So we still have to guard against getting
  1337   // back a time later than 'now'.
  1337   // back a time later than 'now'.
  1338   jlong retVal = now - tolgc_cl.time();
  1338   jlong retVal = now - tolgc_cl.time();
  1339   if (retVal < 0) {
  1339   if (retVal < 0) {
  1340     NOT_PRODUCT(warning("time warp: "INT64_FORMAT, (int64_t) retVal);)
  1340     NOT_PRODUCT(warning("time warp: " JLONG_FORMAT, retVal);)
  1341     return 0;
  1341     return 0;
  1342   }
  1342   }
  1343   return retVal;
  1343   return retVal;
  1344 }
  1344 }