On Fri, 10 Jul 2026 10:15:11 GMT, Kevin Walls <[email protected]> wrote:

> Hi, seems likely the two makefiles you mention could remove mention of PSAPI 
> as well, if this is all about Windows 7 and older.

If I read this 
https://learn.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-getperformanceinfo
correctly, even on good old Windows 7 and Windows Server 2008 R2  Kernel32.lib 
provides already the psapi functions, but you can explicitly enforce Psapi.lib 
(if `PSAPI_VERSION=1` is set) .
What I still do not know,  if we remove the  `PSAPI_VERSION=1` define and just 
use what is provided by Kernel32.lib, do we get some small/subtle differences 
in (runtime) behavior ?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/31846#issuecomment-4937064138

Reply via email to