6888526: Linux getCurrentThreadCpuTime is drastically slower than Windows

Reviewed-by: dcubed, dholmes
This commit is contained in:
Andrew Haley 2010-07-28 17:38:21 +01:00
parent 53ac035768
commit d44a3683b1
2 changed files with 10 additions and 3 deletions

View file

@ -29,9 +29,10 @@
product(bool, UseOprofile, false, \
"enable support for Oprofile profiler") \
\
product(bool, UseLinuxPosixThreadCPUClocks, false, \
"enable fast Linux Posix clocks where available") \
product(bool, UseLinuxPosixThreadCPUClocks, true, \
"enable fast Linux Posix clocks where available")
// NB: The default value of UseLinuxPosixThreadCPUClocks may be
// overridden in Arguments::parse_each_vm_init_arg.
//
// Defines Linux-specific default values. The flags are available on all