hotspot/src/os/windows/vm/decoder_windows.hpp
changeset 46630 75aa3e39d02c
parent 31352 a6ab7217b5cc
child 47086 2b35673f6297
equal deleted inserted replaced
46629:8eeacdc76bf2 46630:75aa3e39d02c
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    54 
    54 
    55 class WindowsDecoder : public AbstractDecoder {
    55 class WindowsDecoder : public AbstractDecoder {
    56 
    56 
    57 public:
    57 public:
    58   WindowsDecoder();
    58   WindowsDecoder();
    59   ~WindowsDecoder() { uninitialize(); };
    59   virtual ~WindowsDecoder() { uninitialize(); };
    60 
    60 
    61   bool can_decode_C_frame_in_vm() const;
    61   bool can_decode_C_frame_in_vm() const;
    62   bool demangle(const char* symbol, char *buf, int buflen);
    62   bool demangle(const char* symbol, char *buf, int buflen);
    63   bool decode(address addr, char *buf, int buflen, int* offset, const char* modulepath, bool demangle);
    63   bool decode(address addr, char *buf, int buflen, int* offset, const char* modulepath, bool demangle);
    64   bool decode(address addr, char *buf, int buflen, int* offset, const void* base) {
    64   bool decode(address addr, char *buf, int buflen, int* offset, const void* base) {
   103   static pfn_SymGetModuleBase64       pfnSymGetModuleBase64();
   103   static pfn_SymGetModuleBase64       pfnSymGetModuleBase64();
   104 };
   104 };
   105 #endif
   105 #endif
   106 
   106 
   107 #endif // OS_WINDOWS_VM_DECODER_WINDOWS_HPP
   107 #endif // OS_WINDOWS_VM_DECODER_WINDOWS_HPP
   108