equal
deleted
inserted
replaced
3712 char buffer[JVM_MAXPATHLEN]; |
3712 char buffer[JVM_MAXPATHLEN]; |
3713 char ebuf[1024]; |
3713 char ebuf[1024]; |
3714 const char *name = agent->name(); |
3714 const char *name = agent->name(); |
3715 const char *msg = "Could not find agent library "; |
3715 const char *msg = "Could not find agent library "; |
3716 |
3716 |
3717 // First check to see if agent is statcally linked into executable |
3717 // First check to see if agent is statically linked into executable |
3718 if (os::find_builtin_agent(agent, on_load_symbols, num_symbol_entries)) { |
3718 if (os::find_builtin_agent(agent, on_load_symbols, num_symbol_entries)) { |
3719 library = agent->os_lib(); |
3719 library = agent->os_lib(); |
3720 } else if (agent->is_absolute_path()) { |
3720 } else if (agent->is_absolute_path()) { |
3721 library = os::dll_load(name, ebuf, sizeof ebuf); |
3721 library = os::dll_load(name, ebuf, sizeof ebuf); |
3722 if (library == NULL) { |
3722 if (library == NULL) { |