From d540a964431e79405e0479ab7fd401142562e274 Mon Sep 17 00:00:00 2001 From: suchismith1993 Date: Mon, 25 Mar 2024 15:11:52 +0000 Subject: [PATCH] restore lines --- src/hotspot/os/aix/os_aix.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/hotspot/os/aix/os_aix.cpp b/src/hotspot/os/aix/os_aix.cpp index 7104b7e3b81..8eeaebe616d 100644 --- a/src/hotspot/os/aix/os_aix.cpp +++ b/src/hotspot/os/aix/os_aix.cpp @@ -1144,13 +1144,10 @@ bool os::dll_address_to_library_name(address addr, char* buf, return AixSymbols::get_module_name(addr, buf, buflen); } - - // Loads .dll/.so and in case of error it checks if .dll/.so was built // for the same architecture as Hotspot is running on. -static void* dll_load_library(const char *filename, char *ebuf, int ebuflen) { - printf("cjeclomg dll_load here %s",filename); log_info(os)("attempting shared library load of %s", filename); + if (ebuf && ebuflen > 0) { ebuf[0] = '\0'; ebuf[ebuflen - 1] = '\0'; @@ -1161,9 +1158,6 @@ static void* dll_load_library(const char *filename, char *ebuf, int ebuflen) { return NULL; } - - - // RTLD_LAZY is currently not implemented. The dl is loaded immediately with all its dependants. void * result= ::dlopen(filename, RTLD_LAZY); if (result != NULL) {