hotspot/src/share/vm/runtime/thread.cpp
changeset 19973 d98623e1f50b
parent 19723 79c3f91dc0fa
child 19978 9bed798c8402
equal deleted inserted replaced
19766:b6d8784a1037 19973:d98623e1f50b
  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) {