7071311: Decoder enhancement

Made decoder thread-safe

Reviewed-by: coleenp, kamg
This commit is contained in:
Zhengyu Gu 2012-01-17 13:08:52 -05:00
parent 8efd785f67
commit 43bb0877fc
20 changed files with 471 additions and 275 deletions

View file

@ -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;
}