--- old/src/share/vm/utilities/globalDefinitions.hpp 2011-12-06 16:57:24.680460213 -0800 +++ new/src/share/vm/utilities/globalDefinitions.hpp 2011-12-06 16:57:24.454930803 -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";