< prev index next >

src/hotspot/share/c1/c1_Compilation.hpp

Print this page
*** 30,10 ***
--- 30,11 ---
  #include "code/exceptionHandlerTable.hpp"
  #include "compiler/compiler_globals.hpp"
  #include "compiler/compilerDefinitions.inline.hpp"
  #include "compiler/compilerDirectives.hpp"
  #include "runtime/deoptimization.hpp"
+ #include "runtime/sharedRuntime.hpp"
  
  class CompilationFailureInfo;
  class CompilationResourceObj;
  class XHandlers;
  class ExceptionInfo;

*** 250,10 ***
--- 251,14 ---
    }
    bool profile_return() {
      return env()->comp_level() == CompLevel_full_profile &&
        C1UpdateMethodData && MethodData::profile_return();
    }
+   bool profile_array_accesses() {
+     return env()->comp_level() == CompLevel_full_profile &&
+       C1UpdateMethodData;
+   }
  
    // will compilation make optimistic assumptions that might lead to
    // deoptimization and that the runtime will account for?
    bool is_optimistic() {
      return CompilerConfig::is_c1_only_no_jvmci() && !is_profiling() &&
< prev index next >