< prev index next >
src/os/windows/vm/os_windows.cpp
Print this page
rev 13549 : 8185712: [windows] Improve native symbol decoder
Reviewed-by:
rev 13550 : [mq]: 8185712-windows-improve-native-symbol-resolver-2
*** 1320,1333 ****
// in case of error it checks if .dll/.so was built for the
// same architecture as Hotspot is running on
void * os::dll_load(const char *name, char *ebuf, int ebuflen) {
void * result = LoadLibrary(name);
if (result != NULL) {
- if (InitializeDbgHelpEarly) {
// Recalculate pdb search path if a DLL was loaded successfully.
SymbolEngine::recalc_search_path();
- }
return result;
}
DWORD errcode = GetLastError();
if (errcode == ERROR_MOD_NOT_FOUND) {
--- 1320,1331 ----
*** 4037,4049 ****
if (initSock() != JNI_OK) {
return JNI_ERR;
}
- if (InitializeDbgHelpEarly) {
SymbolEngine::recalc_search_path();
- }
return JNI_OK;
}
// Mark the polling page as unreadable
--- 4035,4045 ----
< prev index next >