< prev index next >

src/hotspot/share/c1/c1_Compilation.cpp

Print this page
@@ -430,15 +430,18 @@
      in_bytes(frame_map()->framesize_in_bytes()) / sizeof(intptr_t),
      debug_info_recorder()->_oopmaps,
      exception_handler_table(),
      implicit_exception_table(),
      compiler(),
+     false, // has_clinit_barriers
+     false, // for_preload
      has_unsafe_access(),
      SharedRuntime::is_wide_vector(max_vector_size()),
      has_monitors(),
      has_scoped_access(),
-     _immediate_oops_patched
+     _immediate_oops_patched,
+     should_install_code()
    );
  }
  
  
  void Compilation::compile_method() {

@@ -479,12 +482,11 @@
  
    // bailout if method couldn't be compiled
    // Note: make sure we mark the method as not compilable!
    CHECK_BAILOUT();
  
-   if (should_install_code()) {
-     // install code
+   { // install code
      PhaseTraceTime timeit(_t_codeinstall);
      install_code(frame_size);
    }
  
    if (log() != nullptr) // Print code cache state into compiler log
< prev index next >