< prev index next >

src/hotspot/share/c1/c1_Compilation.cpp

Print this page
@@ -563,10 +563,11 @@
  , _exception_info_list(NULL)
  , _allocator(NULL)
  , _code(buffer_blob)
  , _has_access_indexed(false)
  , _interpreter_frame_size(0)
+ , _compiled_entry_signature(method->get_Method())
  , _current_instruction(NULL)
  #ifndef PRODUCT
  , _last_instruction_printed(NULL)
  , _cfg_printer_output(NULL)
  #endif // PRODUCT

@@ -579,10 +580,14 @@
  #ifndef PRODUCT
    if (PrintCFGToFile) {
      _cfg_printer_output = new CFGPrinterOutput(this);
    }
  #endif
+   {
+     ResetNoHandleMark rnhm; // Huh? Required when doing class lookup of the Q-types
+     _compiled_entry_signature.compute_calling_conventions();
+   }
    compile_method();
    if (bailed_out()) {
      _env->record_method_not_compilable(bailout_msg());
      if (is_profiling()) {
        // Compilation failed, create MDO, which would signal the interpreter
< prev index next >