mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34: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,14 +923,10 @@ double os::elapsedVTime() {
|
|||
}
|
||||
|
||||
jlong os::javaTimeMillis() {
|
||||
if (UseFakeTimers) {
|
||||
return fake_time++;
|
||||
} else {
|
||||
FILETIME wt;
|
||||
GetSystemTimeAsFileTime(&wt);
|
||||
return windows_to_java_time(wt);
|
||||
}
|
||||
}
|
||||
|
||||
void os::javaTimeSystemUTC(jlong &seconds, jlong &nanos) {
|
||||
FILETIME wt;
|
||||
|
|
|
@ -651,9 +651,6 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
|
|||
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") \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue