RFR: 8318709: Improve System.nanoTime performance on Windows
Daniel Jeliński
djelinski at openjdk.org
Thu Oct 26 07:10:32 UTC 2023
On Thu, 26 Oct 2023 06:57:35 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> src/hotspot/os/windows/os_windows.cpp line 804:
>>
>>> 802: static jlong initial_performance_count;
>>> 803: static jlong performance_frequency;
>>> 804: static double counts_per_nano; // NANOSECS_PER_SEC / performance_frequency
>>
>> Doesn't that calculate nanos_per_count?
>
> Which is what we want of course.
D'oh! Of course it does. I'll rename in a sec.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16336#discussion_r1372686446
More information about the hotspot-runtime-dev
mailing list