src/share/vm/compiler/disassembler.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7089790_full Sdiff src/share/vm/compiler

src/share/vm/compiler/disassembler.hpp

Print this page
rev 2694 : imported patch headers_only


  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_COMPILER_DISASSEMBLER_HPP
  26 #define SHARE_VM_COMPILER_DISASSEMBLER_HPP
  27 
  28 #include "runtime/globals.hpp"
  29 #ifdef TARGET_OS_FAMILY_linux
  30 # include "os_linux.inline.hpp"
  31 #endif
  32 #ifdef TARGET_OS_FAMILY_solaris
  33 # include "os_solaris.inline.hpp"
  34 #endif
  35 #ifdef TARGET_OS_FAMILY_windows
  36 # include "os_windows.inline.hpp"
  37 #endif



  38 
  39 class decode_env;
  40 
  41 // The disassembler prints out assembly code annotated
  42 // with Java specific information.
  43 
  44 class Disassembler {
  45   friend class decode_env;
  46  private:
  47   // this is the type of the dll entry point:
  48   typedef void* (*decode_func)(void* start, void* end,
  49                                void* (*event_callback)(void*, const char*, void*),
  50                                void* event_stream,
  51                                int (*printf_callback)(void*, const char*, ...),
  52                                void* printf_stream,
  53                                const char* options);
  54   // points to the library.
  55   static void*    _library;
  56   // bailout
  57   static bool     _tried_to_load_library;




  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_COMPILER_DISASSEMBLER_HPP
  26 #define SHARE_VM_COMPILER_DISASSEMBLER_HPP
  27 
  28 #include "runtime/globals.hpp"
  29 #ifdef TARGET_OS_FAMILY_linux
  30 # include "os_linux.inline.hpp"
  31 #endif
  32 #ifdef TARGET_OS_FAMILY_solaris
  33 # include "os_solaris.inline.hpp"
  34 #endif
  35 #ifdef TARGET_OS_FAMILY_windows
  36 # include "os_windows.inline.hpp"
  37 #endif
  38 #ifdef TARGET_OS_FAMILY_bsd
  39 # include "os_bsd.inline.hpp"
  40 #endif
  41 
  42 class decode_env;
  43 
  44 // The disassembler prints out assembly code annotated
  45 // with Java specific information.
  46 
  47 class Disassembler {
  48   friend class decode_env;
  49  private:
  50   // this is the type of the dll entry point:
  51   typedef void* (*decode_func)(void* start, void* end,
  52                                void* (*event_callback)(void*, const char*, void*),
  53                                void* event_stream,
  54                                int (*printf_callback)(void*, const char*, ...),
  55                                void* printf_stream,
  56                                const char* options);
  57   // points to the library.
  58   static void*    _library;
  59   // bailout
  60   static bool     _tried_to_load_library;


src/share/vm/compiler/disassembler.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File