--- old/src/share/vm/utilities/globalDefinitions.hpp 2011-12-09 11:25:21.804964963 -0800 +++ new/src/share/vm/utilities/globalDefinitions.hpp 2011-12-09 11:25:21.573514132 -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";