< prev index next >

src/hotspot/share/opto/output.cpp

Print this page
*** 1798,10 ***
--- 1798,13 ---
    if ((masm->code()->blob() == nullptr) || (!CompileBroker::should_compile_new_jobs())) {
      C->record_failure("CodeCache is full");
      return;
    }
  
+   // FIXME: Count any trail in code section as non-real instructions.
+   // masm->register_skipped(checked_cast<int>(masm->code()->insts_capacity() - masm->code()->insts_size()));
+ 
  #if defined(SUPPORT_ABSTRACT_ASSEMBLY) || defined(SUPPORT_ASSEMBLY) || defined(SUPPORT_OPTO_ASSEMBLY)
    if (C->print_assembly()) {
      tty->cr();
      tty->print_cr("============================= C2-compiled nmethod ==============================");
    }
< prev index next >