src/share/vm/runtime/os.hpp

Print this page
rev 6280 : 8040140: System.nanoTime() is slow and non-monotonic on OS X
Reviewed-by: sspitsyn, shade

@@ -46,10 +46,11 @@
 # include <setjmp.h>
 #endif
 #ifdef TARGET_OS_FAMILY_bsd
 # include "jvm_bsd.h"
 # include <setjmp.h>
+# include <mach/mach_time.h>
 #endif
 
 class AgentLibrary;
 
 // os defines the interface to operating system; this includes traditional