# HG changeset patch # User zgu # Date 1310519633 14400 # Node ID 279ef19167738d52c2378139b52eebe172ea28a5 # Parent b1cbb0907b3677ef215c45a7d53bd601949a663a 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 diff -r b1cbb0907b36 -r 279ef1916773 src/os/windows/vm/os_windows.cpp --- a/src/os/windows/vm/os_windows.cpp Fri Apr 15 09:34:43 2011 -0400 +++ b/src/os/windows/vm/os_windows.cpp Tue Jul 12 21:13:53 2011 -0400 @@ -5079,7 +5079,7 @@ _OpenProcessToken = (OpenProcessToken_Fn)::GetProcAddress(handle, "OpenProcessToken"); _LookupPrivilegeValue = (LookupPrivilegeValue_Fn)::GetProcAddress(handle, - "LookupPrivilegeValue"); + "LookupPrivilegeValueA"); } initialized = TRUE; }