mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-25 21:07:57 +00:00
7065535: Mistyped function name that disabled UseLargePages on Windows
Missing suffix "A" of Windows API LookupPrivilegeValue failed finding function pointer, caused VM to disable UseLargePages option Reviewed-by: coleenp, phh
This commit is contained in:
parent
462140d52d
commit
fcba257a74
@ -5079,7 +5079,7 @@ void os::Advapi32Dll::initialize() {
|
||||
_OpenProcessToken = (OpenProcessToken_Fn)::GetProcAddress(handle,
|
||||
"OpenProcessToken");
|
||||
_LookupPrivilegeValue = (LookupPrivilegeValue_Fn)::GetProcAddress(handle,
|
||||
"LookupPrivilegeValue");
|
||||
"LookupPrivilegeValueA");
|
||||
}
|
||||
initialized = TRUE;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user