Open JasonFengJ9 opened 4 years ago
This message is returned in case if Default Large Page Size (PPG_vmem_pageSize[1]
) is set to 0 at Port Library initialization time.
This is code in question:
/* Determine if largePages are supported on this platform */
/* Look for GetLargePageMinimum in the Kernel32 DLL */
if (0 == portLibrary->sl_open_shared_library(portLibrary, "Kernel32", &handle, TRUE)) {
if (0 == portLibrary->sl_lookup_name(portLibrary, handle, "GetLargePageMinimum", (uintptr_t *)&GetLargePageMinimumFunc, "PV")) {
PPG_vmem_pageSize[1] = GetLargePageMinimumFunc();
PPG_vmem_pageFlags[1] = OMRPORT_VMEM_PAGE_FLAG_NOT_USED;
/* Safety check, best guess if necessary */
if (PPG_vmem_pageSize[1] == 0) {
PPG_vmem_pageSize[1] = 4194304;
}
}
if (portLibrary->sl_close_shared_library(portLibrary, handle)) {
/* NLS has not yet initialized */
Trc_PRT_vmem_omrvmem_startup_failed_to_close_dll();
}
}
So portLibrary->sl_open_shared_library()
can not find "Kernel32" (most likely) or portLibrary->sl_lookup_name()
can not find "GetLargePageMinimum" function in the kernel.
@jdekonin FYI
Failure link
From an internal build
Test_openjdk8_j9_sanity.functional_x86-32_windows_Nightly_testList_1/39
:Optional info
Failure output (captured from console output)
For example, to rebuild the failed tests in=https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder, use the following links:
04:23:41 https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/parambuild/?JDK_VERSION=8&JDK_IMPL=openj9&BUILD_LIST=functional&PLATFORM=x86-32_windows&TARGET=J9vmTest_0