< prev index next >

src/share/vm/runtime/deoptimization.cpp

Print this page




  36 #include "memory/resourceArea.hpp"
  37 #include "oops/method.hpp"
  38 #include "oops/oop.inline.hpp"
  39 #include "prims/jvmtiThreadState.hpp"
  40 #include "runtime/biasedLocking.hpp"
  41 #include "runtime/compilationPolicy.hpp"
  42 #include "runtime/deoptimization.hpp"
  43 #include "runtime/interfaceSupport.hpp"
  44 #include "runtime/sharedRuntime.hpp"
  45 #include "runtime/signature.hpp"
  46 #include "runtime/stubRoutines.hpp"
  47 #include "runtime/thread.hpp"
  48 #include "runtime/vframe.hpp"
  49 #include "runtime/vframeArray.hpp"
  50 #include "runtime/vframe_hp.hpp"
  51 #include "utilities/events.hpp"
  52 #include "utilities/xmlstream.hpp"
  53 #ifdef TARGET_ARCH_x86
  54 # include "vmreg_x86.inline.hpp"
  55 #endif



  56 #ifdef TARGET_ARCH_sparc
  57 # include "vmreg_sparc.inline.hpp"
  58 #endif
  59 #ifdef TARGET_ARCH_zero
  60 # include "vmreg_zero.inline.hpp"
  61 #endif
  62 #ifdef TARGET_ARCH_arm
  63 # include "vmreg_arm.inline.hpp"
  64 #endif
  65 #ifdef TARGET_ARCH_ppc
  66 # include "vmreg_ppc.inline.hpp"
  67 #endif
  68 #ifdef COMPILER2
  69 #if defined AD_MD_HPP
  70 # include AD_MD_HPP
  71 #elif defined TARGET_ARCH_MODEL_x86_32
  72 # include "adfiles/ad_x86_32.hpp"
  73 #elif defined TARGET_ARCH_MODEL_x86_64
  74 # include "adfiles/ad_x86_64.hpp"


  75 #elif defined TARGET_ARCH_MODEL_sparc
  76 # include "adfiles/ad_sparc.hpp"
  77 #elif defined TARGET_ARCH_MODEL_zero
  78 # include "adfiles/ad_zero.hpp"
  79 #elif defined TARGET_ARCH_MODEL_ppc_64
  80 # include "adfiles/ad_ppc_64.hpp"
  81 #endif
  82 #endif // COMPILER2
  83 
  84 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
  85 
  86 bool DeoptimizationMarker::_is_active = false;
  87 
  88 Deoptimization::UnrollBlock::UnrollBlock(int  size_of_deoptimized_frame,
  89                                          int  caller_adjustment,
  90                                          int  caller_actual_parameters,
  91                                          int  number_of_frames,
  92                                          intptr_t* frame_sizes,
  93                                          address* frame_pcs,
  94                                          BasicType return_type) {




  36 #include "memory/resourceArea.hpp"
  37 #include "oops/method.hpp"
  38 #include "oops/oop.inline.hpp"
  39 #include "prims/jvmtiThreadState.hpp"
  40 #include "runtime/biasedLocking.hpp"
  41 #include "runtime/compilationPolicy.hpp"
  42 #include "runtime/deoptimization.hpp"
  43 #include "runtime/interfaceSupport.hpp"
  44 #include "runtime/sharedRuntime.hpp"
  45 #include "runtime/signature.hpp"
  46 #include "runtime/stubRoutines.hpp"
  47 #include "runtime/thread.hpp"
  48 #include "runtime/vframe.hpp"
  49 #include "runtime/vframeArray.hpp"
  50 #include "runtime/vframe_hp.hpp"
  51 #include "utilities/events.hpp"
  52 #include "utilities/xmlstream.hpp"
  53 #ifdef TARGET_ARCH_x86
  54 # include "vmreg_x86.inline.hpp"
  55 #endif
  56 #ifdef TARGET_ARCH_aarch64
  57 # include "vmreg_aarch64.inline.hpp"
  58 #endif
  59 #ifdef TARGET_ARCH_sparc
  60 # include "vmreg_sparc.inline.hpp"
  61 #endif
  62 #ifdef TARGET_ARCH_zero
  63 # include "vmreg_zero.inline.hpp"
  64 #endif
  65 #ifdef TARGET_ARCH_arm
  66 # include "vmreg_arm.inline.hpp"
  67 #endif
  68 #ifdef TARGET_ARCH_ppc
  69 # include "vmreg_ppc.inline.hpp"
  70 #endif
  71 #ifdef COMPILER2
  72 #if defined AD_MD_HPP
  73 # include AD_MD_HPP
  74 #elif defined TARGET_ARCH_MODEL_x86_32
  75 # include "adfiles/ad_x86_32.hpp"
  76 #elif defined TARGET_ARCH_MODEL_x86_64
  77 # include "adfiles/ad_x86_64.hpp"
  78 #elif defined TARGET_ARCH_MODEL_aarch64
  79 # include "adfiles/ad_aarch64.hpp"
  80 #elif defined TARGET_ARCH_MODEL_sparc
  81 # include "adfiles/ad_sparc.hpp"
  82 #elif defined TARGET_ARCH_MODEL_zero
  83 # include "adfiles/ad_zero.hpp"
  84 #elif defined TARGET_ARCH_MODEL_ppc_64
  85 # include "adfiles/ad_ppc_64.hpp"
  86 #endif
  87 #endif // COMPILER2
  88 
  89 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
  90 
  91 bool DeoptimizationMarker::_is_active = false;
  92 
  93 Deoptimization::UnrollBlock::UnrollBlock(int  size_of_deoptimized_frame,
  94                                          int  caller_adjustment,
  95                                          int  caller_actual_parameters,
  96                                          int  number_of_frames,
  97                                          intptr_t* frame_sizes,
  98                                          address* frame_pcs,
  99                                          BasicType return_type) {


< prev index next >