comparison src/os/windows/vm/decoder_windows.cpp @ 6275:957c266d8bc5

Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Tue, 21 Aug 2012 10:39:19 +0200
parents 3b01d0321dfa
children b9a9ed0f8eeb
comparison
equal deleted inserted replaced
5891:fd8832ae511d 6275:957c266d8bc5
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() {