Mercurial > hg > graal-jvmci-8
diff src/os/windows/vm/decoder_windows.cpp @ 6258:3b01d0321dfa
7186778: MachO decoder implementation for MacOSX
Summary: Implementation of decoder for Apple's MacOSX. The implementation is based on the patch provided by Kevin Walls.
Reviewed-by: coleenp, kamg, kevinw
author | zgu |
---|---|
date | Mon, 30 Jul 2012 10:25:52 -0400 |
parents | d7e3846464d0 |
children | b9a9ed0f8eeb |
line wrap: on
line diff
--- a/src/os/windows/vm/decoder_windows.cpp Thu Jul 19 06:24:46 2012 -0700 +++ b/src/os/windows/vm/decoder_windows.cpp Mon Jul 30 10:25:52 2012 -0400 @@ -72,10 +72,10 @@ // find out if jvm.dll contains private symbols, by decoding // current function and comparing the result - address addr = (address)Decoder::decode; + address addr = (address)Decoder::demangle; char buf[MAX_PATH]; if (decode(addr, buf, sizeof(buf), NULL)) { - _can_decode_in_vm = !strcmp(buf, "Decoder::decode"); + _can_decode_in_vm = !strcmp(buf, "Decoder::demangle"); } } }