src/share/vm/runtime/os.hpp

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

*** 46,55 **** --- 46,58 ---- # 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