Skip to content

Commit 7d3a404

Browse files
author
David Holmes
committed
8339019: Obsolete the UseLinuxPosixThreadCPUClocks flag
Reviewed-by: ccheung, kbarrett
1 parent a606836 commit 7d3a404

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/hotspot/os/linux/globals_linux.hpp

-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
product(bool, UseOprofile, false, \
3939
"enable support for Oprofile profiler") \
4040
\
41-
product(bool, UseLinuxPosixThreadCPUClocks, true, \
42-
"(Deprecated) enable fast Linux Posix clocks where available") \
43-
\
4441
product(bool, UseTransparentHugePages, false, \
4542
"Use MADV_HUGEPAGE for large pages") \
4643
\

src/hotspot/os/linux/os_linux.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -1484,9 +1484,6 @@ double os::elapsedVTime() {
14841484
}
14851485

14861486
void os::Linux::fast_thread_clock_init() {
1487-
if (!UseLinuxPosixThreadCPUClocks) {
1488-
return;
1489-
}
14901487
clockid_t clockid;
14911488
struct timespec tp;
14921489
int (*pthread_getcpuclockid_func)(pthread_t, clockid_t *) =

0 commit comments

Comments
 (0)