mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
8040140: System.nanoTime() is slow and non-monotonic on OS X
Reviewed-by: sspitsyn, shade, dholmes, acorn
This commit is contained in:
parent
a162ea836e
commit
0ef4fb7100
5 changed files with 76 additions and 61 deletions
|
@ -48,6 +48,9 @@
|
|||
#ifdef TARGET_OS_FAMILY_bsd
|
||||
# include "jvm_bsd.h"
|
||||
# include <setjmp.h>
|
||||
# ifdef __APPLE__
|
||||
# include <mach/mach_time.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
class AgentLibrary;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue