mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +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
|
@ -23,11 +23,11 @@
|
|||
*/
|
||||
|
||||
#include "prims/jvm.h"
|
||||
#include "utilities/decoder.hpp"
|
||||
#include "utilities/decoder_elf.hpp"
|
||||
|
||||
#include <cxxabi.h>
|
||||
|
||||
bool Decoder::demangle(const char* symbol, char *buf, int buflen) {
|
||||
bool ElfDecoder::demangle(const char* symbol, char *buf, int buflen) {
|
||||
int status;
|
||||
char* result;
|
||||
size_t size = (size_t)buflen;
|
||||
|
@ -43,3 +43,4 @@ bool Decoder::demangle(const char* symbol, char *buf, int buflen) {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue