hotspot/src/share/vm/utilities/elfFile.cpp
changeset 13195 be27e1b6a4b9
parent 11483 4d3f4bca0019
child 13963 e5b53c306fb5
equal deleted inserted replaced
13099:64752e56d721 13195:be27e1b6a4b9
    45   m_symbol_tables = NULL;
    45   m_symbol_tables = NULL;
    46   m_next = NULL;
    46   m_next = NULL;
    47   m_status = NullDecoder::no_error;
    47   m_status = NullDecoder::no_error;
    48 
    48 
    49   int len = strlen(filepath) + 1;
    49   int len = strlen(filepath) + 1;
    50   m_filepath = (const char*)os::malloc(len * sizeof(char));
    50   m_filepath = (const char*)os::malloc(len * sizeof(char), mtInternal);
    51   if (m_filepath != NULL) {
    51   if (m_filepath != NULL) {
    52     strcpy((char*)m_filepath, filepath);
    52     strcpy((char*)m_filepath, filepath);
    53     m_file = fopen(filepath, "r");
    53     m_file = fopen(filepath, "r");
    54     if (m_file != NULL) {
    54     if (m_file != NULL) {
    55       load_tables();
    55       load_tables();