Btw. in the compile flags we state "Windows 8 and above" , so maybe this should 
be also stated in the docs ?
See

https://github.com/openjdk/jdk/blob/2f37461c25d7bdbca35af7c2dee32e866b921e7a/make/autoconf/flags-cflags.m4#L525

elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
    # _WIN32_WINNT=0x0602 means access APIs for Windows 8 and above. See
    # 
https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170
    ALWAYS_DEFINES="-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0602 \

 ( and  looking at what is used in the hotspot codebase, we have at least some  
Win7 / Server 2008 R2 functionality we use (os_windows.cpp) ) :

GetActiveProcessorCount(ALL_PROCESSOR_GROUPS) 
GetProcessGroupAffinity

https://learn.microsoft.com/de-de/windows/win32/api/winbase/nf-winbase-getactiveprocessorcount
https://learn.microsoft.com/de-de/windows/win32/api/winbase/nf-winbase-getactiveprocessorcount


Best regards, Matthias



>Maybe better say , where it works, like Windows 10 and higher  ?
>(who needs those XP / Vista stuff these days ?)
>
>
>Best regards, Matthias

Reply via email to