src/share/vm/compiler/disassembler.cpp

Print this page
rev 7258 : 8064611: AARCH64: Changes to HotSpot shared code
Summary: Everything except cpu/ and os_cpu/.
Reviewed-by: kvn


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



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




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