--- a/src/hotspot/os/windows/os_windows.cpp Sat Mar 02 08:33:32 2019 -0500
+++ b/src/hotspot/os/windows/os_windows.cpp Sat Mar 02 18:09:18 2019 -0500
@@ -923,13 +923,9 @@
}
jlong os::javaTimeMillis() {
- if (UseFakeTimers) {
- return fake_time++;
- } else {
- FILETIME wt;
- GetSystemTimeAsFileTime(&wt);
- return windows_to_java_time(wt);
- }
+ FILETIME wt;
+ GetSystemTimeAsFileTime(&wt);
+ return windows_to_java_time(wt);
}
void os::javaTimeSystemUTC(jlong &seconds, jlong &nanos) {
--- a/src/hotspot/share/runtime/globals.hpp Sat Mar 02 08:33:32 2019 -0500
+++ b/src/hotspot/share/runtime/globals.hpp Sat Mar 02 18:09:18 2019 -0500
@@ -651,9 +651,6 @@
develop(bool, BreakAtWarning, false, \
"Execute breakpoint upon encountering VM warning") \
\
- develop(bool, UseFakeTimers, false, \
- "Tell whether the VM should use system time or a fake timer") \
- \
product(ccstr, NativeMemoryTracking, "off", \
"Native memory tracking options") \
\