rev 6314 : 8040140: System.nanoTime() is slow and non-monotonic on OS X Reviewed-by: sspitsyn, shade, dholmes
@@ -46,10 +46,13 @@ # include <setjmp.h> #endif #ifdef TARGET_OS_FAMILY_bsd # include "jvm_bsd.h" # include <setjmp.h> +# ifdef __APPLE__ +# include <mach/mach_time.h> +# endif #endif class AgentLibrary; // os defines the interface to operating system; this includes traditional