Request for review: 6888526 Linux getCurrentThreadCpuTime is drastically slower than Windows
Daniel D. Daugherty
daniel.daugherty at oracle.com
Thu Jul 8 10:36:45 PDT 2010
On 7/8/2010 10:49 AM, Andrew Haley wrote:
> New webrev at http://cr.openjdk.java.net/~aph/6888526-2/
> I enclosed the JDK version test in #ifdef LINUX because I don't think
> the UseLinuxPosixThreadCPUClocks flag exists in other systems.
>
Thumbs up on the revised change.
Dan
> I've tested this patch on a RHEL 4 system with the 2.6.9 kernel, which
> works slowly, as expected, regardless of the setting of
> UseLinuxPosixThreadCPUClocks. I have made sure that on JDK 6 the flag
> defaults to false, but it can still be enabled with
> -XX:+UseLinuxPosixThreadCPUClocks. I also made sure that on JDK 7
> UseLinuxPosixThreadCPUClocks defaults to true.
>
> Andrew.
>
More information about the hotspot-dev
mailing list