mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8219619: Remove UseFakeTimers and related code
Reviewed-by: zgu, redestad
This commit is contained in:
parent
ce570e8693
commit
0d13646cbf
2 changed files with 3 additions and 10 deletions
|
@ -923,13 +923,9 @@ double os::elapsedVTime() {
|
||||||
}
|
}
|
||||||
|
|
||||||
jlong os::javaTimeMillis() {
|
jlong os::javaTimeMillis() {
|
||||||
if (UseFakeTimers) {
|
FILETIME wt;
|
||||||
return fake_time++;
|
GetSystemTimeAsFileTime(&wt);
|
||||||
} else {
|
return windows_to_java_time(wt);
|
||||||
FILETIME wt;
|
|
||||||
GetSystemTimeAsFileTime(&wt);
|
|
||||||
return windows_to_java_time(wt);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void os::javaTimeSystemUTC(jlong &seconds, jlong &nanos) {
|
void os::javaTimeSystemUTC(jlong &seconds, jlong &nanos) {
|
||||||
|
|
|
@ -651,9 +651,6 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
|
||||||
develop(bool, BreakAtWarning, false, \
|
develop(bool, BreakAtWarning, false, \
|
||||||
"Execute breakpoint upon encountering VM warning") \
|
"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", \
|
product(ccstr, NativeMemoryTracking, "off", \
|
||||||
"Native memory tracking options") \
|
"Native memory tracking options") \
|
||||||
\
|
\
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue