Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/thread.cpp @ 12220:8e94527f601e
8024007: Misc. cleanup of static agent code
Summary: Minor cleanup of static agent code from 8014135
Reviewed-by: dcubed, sspitsyn
author | bpittore |
---|---|
date | Wed, 11 Sep 2013 20:03:34 -0400 |
parents | 27ffd1c4537b |
children | cc5b40a76049 |
comparison
equal
deleted
inserted
replaced
12186:313b724f8911 | 12220:8e94527f601e |
---|---|
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) { |