Tue, 12 Jul 2011 21:13:53 -0400
7065535: Mistyped function name that disabled UseLargePages on Windows
Summary: Missing suffix "A" of Windows API LookupPrivilegeValue failed finding function pointer, caused VM to disable UseLargePages option
Reviewed-by: coleenp, phh
src/os/windows/vm/os_windows.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/os/windows/vm/os_windows.cpp Fri Apr 15 09:34:43 2011 -0400 1.2 +++ b/src/os/windows/vm/os_windows.cpp Tue Jul 12 21:13:53 2011 -0400 1.3 @@ -5079,7 +5079,7 @@ 1.4 _OpenProcessToken = (OpenProcessToken_Fn)::GetProcAddress(handle, 1.5 "OpenProcessToken"); 1.6 _LookupPrivilegeValue = (LookupPrivilegeValue_Fn)::GetProcAddress(handle, 1.7 - "LookupPrivilegeValue"); 1.8 + "LookupPrivilegeValueA"); 1.9 } 1.10 initialized = TRUE; 1.11 }