src/hotspot/os/linux/os_linux.cpp
changeset 57651 ddae2da329ed
parent 57599 98dfaf0f9442
child 57804 9b7b9f16dfd9
--- a/src/hotspot/os/linux/os_linux.cpp	Mon Aug 05 16:27:30 2019 -0700
+++ b/src/hotspot/os/linux/os_linux.cpp	Fri Aug 02 10:10:42 2019 +0200
@@ -1739,6 +1739,8 @@
   void * result = NULL;
   bool load_attempted = false;
 
+  log_info(os)("attempting shared library load of %s", filename);
+
   // Check whether the library to load might change execution rights
   // of the stack. If they are changed, the protection of the stack
   // guard pages will be lost. We need a safepoint to fix this.
@@ -1990,8 +1992,10 @@
       ebuf[ebuflen-1]='\0';
     }
     Events::log(NULL, "Loading shared library %s failed, %s", filename, error_report);
+    log_info(os)("shared library load of %s failed, %s", filename, error_report);
   } else {
     Events::log(NULL, "Loaded shared library %s", filename);
+    log_info(os)("shared library load of %s was successful", filename);
   }
   return result;
 }