diff src/os/posix/vm/os_posix.cpp @ 17684:d1621038becf

8031968: Mac OS X: VM starts the agent by calling both Agent_OnAttach and Agent_OnAttach_L functions if its agent library is dynamically linked. Summary: Make sure we only look for statically linked agents in the main process image Reviewed-by: dsamersoff, bpittore, dcubed
author sla
date Thu, 23 Jan 2014 09:06:21 +0100
parents c636758ea616
children 8a9bb7821e28 6c9332549827
line wrap: on
line diff
--- a/src/os/posix/vm/os_posix.cpp	Tue Feb 11 08:49:37 2014 -0800
+++ b/src/os/posix/vm/os_posix.cpp	Thu Jan 23 09:06:21 2014 +0100
@@ -262,10 +262,6 @@
   return ::fdopen(fd, mode);
 }
 
-void* os::get_default_process_handle() {
-  return (void*)::dlopen(NULL, RTLD_LAZY);
-}
-
 // Builds a platform dependent Agent_OnLoad_<lib_name> function name
 // which is used to find statically linked in agents.
 // Parameters: