Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/opto/library_call.cpp
          +++ new/src/share/vm/opto/library_call.cpp
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20   20   * or visit www.oracle.com if you need additional information or have any
  21   21   * questions.
  22   22   *
  23   23   */
  24   24  
  25   25  #include "precompiled.hpp"
  26   26  #include "classfile/systemDictionary.hpp"
  27   27  #include "classfile/vmSymbols.hpp"
       28 +#include "compiler/compileBroker.hpp"
  28   29  #include "compiler/compileLog.hpp"
  29   30  #include "oops/objArrayKlass.hpp"
  30   31  #include "opto/addnode.hpp"
  31   32  #include "opto/callGenerator.hpp"
  32   33  #include "opto/cfgnode.hpp"
  33   34  #include "opto/idealKit.hpp"
  34   35  #include "opto/mulnode.hpp"
  35   36  #include "opto/parse.hpp"
  36   37  #include "opto/runtime.hpp"
  37   38  #include "opto/subnode.hpp"
↓ open down ↓ 343 lines elided ↑ open up ↑
 381  382    int nodes = C->unique();
 382  383  #ifndef PRODUCT
 383  384    if ((PrintIntrinsics || PrintInlining NOT_PRODUCT( || PrintOptoInlining) ) && Verbose) {
 384  385      char buf[1000];
 385  386      const char* str = vmIntrinsics::short_name_as_C_string(intrinsic_id(), buf, sizeof(buf));
 386  387      tty->print_cr("Intrinsic %s", str);
 387  388    }
 388  389  #endif
 389  390    if (kit.try_to_inline()) {
 390  391      if (PrintIntrinsics || PrintInlining NOT_PRODUCT( || PrintOptoInlining) ) {
 391      -      tty->print("Inlining intrinsic %s%s at bci:%d in",
 392      -                 vmIntrinsics::name_at(intrinsic_id()),
 393      -                 (is_virtual() ? " (virtual)" : ""), kit.bci());
 394      -      kit.caller()->print_short_name(tty);
 395      -      tty->print_cr(" (%d bytes)", kit.caller()->code_size());
      392 +      CompileTask::print_inlining(kit.callee(), jvms->depth() - 1, kit.bci(), is_virtual() ? "(intrinsic, virtual)" : "(intrinsic)");
 396  393      }
 397  394      C->gather_intrinsic_statistics(intrinsic_id(), is_virtual(), Compile::_intrinsic_worked);
 398  395      if (C->log()) {
 399  396        C->log()->elem("intrinsic id='%s'%s nodes='%d'",
 400  397                       vmIntrinsics::name_at(intrinsic_id()),
 401  398                       (is_virtual() ? " virtual='1'" : ""),
 402  399                       C->unique() - nodes);
 403  400      }
 404  401      return kit.transfer_exceptions_into_jvms();
 405  402    }
↓ open down ↓ 4912 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX