hotspot/src/os/aix/vm/os_aix.inline.hpp
changeset 23213 141e27fa5a42
parent 22831 1e2ba1d62103
child 24351 61b33cc6d3cf
--- a/hotspot/src/os/aix/vm/os_aix.inline.hpp	Thu Mar 06 11:12:45 2014 -0800
+++ b/hotspot/src/os/aix/vm/os_aix.inline.hpp	Thu Mar 06 14:35:26 2014 +0100
@@ -283,4 +283,10 @@
                             const char* optval, socklen_t optlen) {
   return ::setsockopt(fd, level, optname, optval, optlen);
 }
+
+inline bool os::supports_monotonic_clock() {
+  // mread_real_time() is monotonic on AIX (see os::javaTimeNanos() comments)
+  return true;
+}
+
 #endif // OS_AIX_VM_OS_AIX_INLINE_HPP