hotspot/src/os/windows/vm/decoder_windows.cpp
changeset 13340 40c424a6ff53
parent 11483 4d3f4bca0019
child 13963 e5b53c306fb5
equal deleted inserted replaced
13305:c6204b2b4209 13340:40c424a6ff53
    70       return;
    70       return;
    71     }
    71     }
    72 
    72 
    73      // find out if jvm.dll contains private symbols, by decoding
    73      // find out if jvm.dll contains private symbols, by decoding
    74      // current function and comparing the result
    74      // current function and comparing the result
    75      address addr = (address)Decoder::decode;
    75      address addr = (address)Decoder::demangle;
    76      char buf[MAX_PATH];
    76      char buf[MAX_PATH];
    77      if (decode(addr, buf, sizeof(buf), NULL)) {
    77      if (decode(addr, buf, sizeof(buf), NULL)) {
    78        _can_decode_in_vm = !strcmp(buf, "Decoder::decode");
    78        _can_decode_in_vm = !strcmp(buf, "Decoder::demangle");
    79      }
    79      }
    80   }
    80   }
    81 }
    81 }
    82 
    82 
    83 void WindowsDecoder::uninitialize() {
    83 void WindowsDecoder::uninitialize() {