--- a/hotspot/src/share/vm/utilities/globalDefinitions.hpp Fri Dec 16 11:40:00 2011 -0800
+++ b/hotspot/src/share/vm/utilities/globalDefinitions.hpp Mon Dec 19 10:02:05 2011 -0800
@@ -175,6 +175,9 @@
const int MICROUNITS = 1000000; // micro units per base unit
const int NANOUNITS = 1000000000; // nano units per base unit
+const jlong NANOSECS_PER_SEC = CONST64(1000000000);
+const jint NANOSECS_PER_MILLISEC = 1000000;
+
inline const char* proper_unit_for_byte_size(size_t s) {
if (s >= 10*M) {
return "M";