< prev index next >

src/share/vm/compiler/disassembler.cpp

Print this page




  30 #include "memory/cardTableModRefBS.hpp"
  31 #include "runtime/fprofiler.hpp"
  32 #include "runtime/handles.inline.hpp"
  33 #include "runtime/stubCodeGenerator.hpp"
  34 #include "runtime/stubRoutines.hpp"
  35 #ifdef TARGET_ARCH_x86
  36 # include "depChecker_x86.hpp"
  37 #endif
  38 #ifdef TARGET_ARCH_sparc
  39 # include "depChecker_sparc.hpp"
  40 #endif
  41 #ifdef TARGET_ARCH_zero
  42 # include "depChecker_zero.hpp"
  43 #endif
  44 #ifdef TARGET_ARCH_arm
  45 # include "depChecker_arm.hpp"
  46 #endif
  47 #ifdef TARGET_ARCH_ppc
  48 # include "depChecker_ppc.hpp"
  49 #endif



  50 #ifdef SHARK
  51 #include "shark/sharkEntry.hpp"
  52 #endif
  53 
  54 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
  55 
  56 void*       Disassembler::_library               = NULL;
  57 bool        Disassembler::_tried_to_load_library = false;
  58 
  59 // This routine is in the shared library:
  60 Disassembler::decode_func_virtual Disassembler::_decode_instructions_virtual = NULL;
  61 Disassembler::decode_func Disassembler::_decode_instructions = NULL;
  62 
  63 static const char hsdis_library_name[] = "hsdis-" HOTSPOT_LIB_ARCH;
  64 static const char decode_instructions_virtual_name[] = "decode_instructions_virtual";
  65 static const char decode_instructions_name[] = "decode_instructions";
  66 static bool use_new_version = true;
  67 #define COMMENT_COLUMN  40 LP64_ONLY(+8) /*could be an option*/
  68 #define BYTES_COMMENT   ";..."  /* funky byte display comment */
  69 




  30 #include "memory/cardTableModRefBS.hpp"
  31 #include "runtime/fprofiler.hpp"
  32 #include "runtime/handles.inline.hpp"
  33 #include "runtime/stubCodeGenerator.hpp"
  34 #include "runtime/stubRoutines.hpp"
  35 #ifdef TARGET_ARCH_x86
  36 # include "depChecker_x86.hpp"
  37 #endif
  38 #ifdef TARGET_ARCH_sparc
  39 # include "depChecker_sparc.hpp"
  40 #endif
  41 #ifdef TARGET_ARCH_zero
  42 # include "depChecker_zero.hpp"
  43 #endif
  44 #ifdef TARGET_ARCH_arm
  45 # include "depChecker_arm.hpp"
  46 #endif
  47 #ifdef TARGET_ARCH_ppc
  48 # include "depChecker_ppc.hpp"
  49 #endif
  50 #ifdef TARGET_ARCH_aarch32
  51 # include "depChecker_aarch32.hpp"
  52 #endif
  53 #ifdef SHARK
  54 #include "shark/sharkEntry.hpp"
  55 #endif
  56 
  57 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
  58 
  59 void*       Disassembler::_library               = NULL;
  60 bool        Disassembler::_tried_to_load_library = false;
  61 
  62 // This routine is in the shared library:
  63 Disassembler::decode_func_virtual Disassembler::_decode_instructions_virtual = NULL;
  64 Disassembler::decode_func Disassembler::_decode_instructions = NULL;
  65 
  66 static const char hsdis_library_name[] = "hsdis-" HOTSPOT_LIB_ARCH;
  67 static const char decode_instructions_virtual_name[] = "decode_instructions_virtual";
  68 static const char decode_instructions_name[] = "decode_instructions";
  69 static bool use_new_version = true;
  70 #define COMMENT_COLUMN  40 LP64_ONLY(+8) /*could be an option*/
  71 #define BYTES_COMMENT   ";..."  /* funky byte display comment */
  72 


< prev index next >