提交 d34e6168 编写于 作者: Z zgu

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
上级 53591c51
......@@ -5079,7 +5079,7 @@ void os::Advapi32Dll::initialize() {
_OpenProcessToken = (OpenProcessToken_Fn)::GetProcAddress(handle,
"OpenProcessToken");
_LookupPrivilegeValue = (LookupPrivilegeValue_Fn)::GetProcAddress(handle,
"LookupPrivilegeValue");
"LookupPrivilegeValueA");
}
initialized = TRUE;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册