< prev index next >

src/hotspot/share/jvmci/jvmciEnv.cpp

Print this page


  27 #include "classfile/javaAssertions.hpp"
  28 #include "classfile/systemDictionary.hpp"
  29 #include "classfile/vmSymbols.hpp"
  30 #include "code/codeCache.hpp"
  31 #include "code/scopeDesc.hpp"
  32 #include "compiler/compileBroker.hpp"
  33 #include "compiler/compileLog.hpp"
  34 #include "compiler/compilerOracle.hpp"
  35 #include "interpreter/linkResolver.hpp"
  36 #include "memory/allocation.inline.hpp"
  37 #include "memory/oopFactory.hpp"
  38 #include "memory/resourceArea.hpp"
  39 #include "memory/universe.hpp"
  40 #include "oops/constantPool.inline.hpp"
  41 #include "oops/cpCache.inline.hpp"
  42 #include "oops/method.inline.hpp"
  43 #include "oops/methodData.hpp"
  44 #include "oops/objArrayKlass.hpp"
  45 #include "oops/oop.inline.hpp"
  46 #include "prims/jvmtiExport.hpp"

  47 #include "runtime/handles.inline.hpp"
  48 #include "runtime/init.hpp"
  49 #include "runtime/reflection.hpp"
  50 #include "runtime/sharedRuntime.hpp"
  51 #include "runtime/sweeper.hpp"
  52 #include "utilities/dtrace.hpp"
  53 #include "jvmci/jvmciRuntime.hpp"
  54 #include "jvmci/jvmciJavaClasses.hpp"
  55 
  56 JVMCIEnv::JVMCIEnv(CompileTask* task, int system_dictionary_modification_counter):
  57   _task(task),
  58   _system_dictionary_modification_counter(system_dictionary_modification_counter),
  59   _failure_reason(NULL),
  60   _retryable(true)
  61 {
  62   // Get Jvmti capabilities under lock to get consistent values.
  63   MutexLocker mu(JvmtiThreadState_lock);
  64   _jvmti_can_hotswap_or_post_breakpoint = JvmtiExport::can_hotswap_or_post_breakpoint();
  65   _jvmti_can_access_local_variables     = JvmtiExport::can_access_local_variables();
  66   _jvmti_can_post_on_exceptions         = JvmtiExport::can_post_on_exceptions();




  27 #include "classfile/javaAssertions.hpp"
  28 #include "classfile/systemDictionary.hpp"
  29 #include "classfile/vmSymbols.hpp"
  30 #include "code/codeCache.hpp"
  31 #include "code/scopeDesc.hpp"
  32 #include "compiler/compileBroker.hpp"
  33 #include "compiler/compileLog.hpp"
  34 #include "compiler/compilerOracle.hpp"
  35 #include "interpreter/linkResolver.hpp"
  36 #include "memory/allocation.inline.hpp"
  37 #include "memory/oopFactory.hpp"
  38 #include "memory/resourceArea.hpp"
  39 #include "memory/universe.hpp"
  40 #include "oops/constantPool.inline.hpp"
  41 #include "oops/cpCache.inline.hpp"
  42 #include "oops/method.inline.hpp"
  43 #include "oops/methodData.hpp"
  44 #include "oops/objArrayKlass.hpp"
  45 #include "oops/oop.inline.hpp"
  46 #include "prims/jvmtiExport.hpp"
  47 #include "runtime/fieldDescriptor.inline.hpp"
  48 #include "runtime/handles.inline.hpp"
  49 #include "runtime/init.hpp"
  50 #include "runtime/reflection.hpp"
  51 #include "runtime/sharedRuntime.hpp"
  52 #include "runtime/sweeper.hpp"
  53 #include "utilities/dtrace.hpp"
  54 #include "jvmci/jvmciRuntime.hpp"
  55 #include "jvmci/jvmciJavaClasses.hpp"
  56 
  57 JVMCIEnv::JVMCIEnv(CompileTask* task, int system_dictionary_modification_counter):
  58   _task(task),
  59   _system_dictionary_modification_counter(system_dictionary_modification_counter),
  60   _failure_reason(NULL),
  61   _retryable(true)
  62 {
  63   // Get Jvmti capabilities under lock to get consistent values.
  64   MutexLocker mu(JvmtiThreadState_lock);
  65   _jvmti_can_hotswap_or_post_breakpoint = JvmtiExport::can_hotswap_or_post_breakpoint();
  66   _jvmti_can_access_local_variables     = JvmtiExport::can_access_local_variables();
  67   _jvmti_can_post_on_exceptions         = JvmtiExport::can_post_on_exceptions();


< prev index next >