mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
7071311: Decoder enhancement
Made decoder thread-safe Reviewed-by: coleenp, kamg
This commit is contained in:
parent
8efd785f67
commit
43bb0877fc
20 changed files with 471 additions and 275 deletions
|
@ -1391,7 +1391,7 @@ bool os::dll_address_to_library_name(address addr, char* buf,
|
|||
|
||||
bool os::dll_address_to_function_name(address addr, char *buf,
|
||||
int buflen, int *offset) {
|
||||
if (Decoder::decode(addr, buf, buflen, offset) == Decoder::no_error) {
|
||||
if (Decoder::decode(addr, buf, buflen, offset)) {
|
||||
return true;
|
||||
}
|
||||
if (offset != NULL) *offset = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue