< prev index next >

src/hotspot/share/code/nmethod.cpp

Print this page
rev 47445 : 8171853: Remove Shark compiler

*** 51,63 **** #include "utilities/align.hpp" #include "utilities/dtrace.hpp" #include "utilities/events.hpp" #include "utilities/resourceHash.hpp" #include "utilities/xmlstream.hpp" - #ifdef SHARK - #include "shark/sharkCompiler.hpp" - #endif #if INCLUDE_JVMCI #include "jvmci/jvmciJavaClasses.hpp" #endif #ifdef DTRACE_ENABLED --- 51,60 ----
*** 198,210 **** static java_nmethod_stats_struct c2_java_nmethod_stats; #endif #if INCLUDE_JVMCI static java_nmethod_stats_struct jvmci_java_nmethod_stats; #endif - #ifdef SHARK - static java_nmethod_stats_struct shark_java_nmethod_stats; - #endif static java_nmethod_stats_struct unknown_java_nmethod_stats; static native_nmethod_stats_struct native_nmethod_stats; static pc_nmethod_stats_struct pc_nmethod_stats; --- 195,204 ----
*** 222,236 **** #if INCLUDE_JVMCI if (nm->is_compiled_by_jvmci()) { jvmci_java_nmethod_stats.note_nmethod(nm); } else #endif - #ifdef SHARK - if (nm->is_compiled_by_shark()) { - shark_java_nmethod_stats.note_nmethod(nm); - } else - #endif { unknown_java_nmethod_stats.note_nmethod(nm); } } #endif // !PRODUCT --- 216,225 ----
*** 1323,1336 **** if (on_scavenge_root_list()) { CodeCache::drop_scavenge_root_nmethod(this); } - #ifdef SHARK - ((SharkCompiler *) compiler())->free_compiled_method(insts_begin()); - #endif // SHARK - CodeBlob::flush(); CodeCache::free(this); } // --- 1312,1321 ----
*** 2243,2254 **** if (is_compiled_by_c1()) { tty->print("(c1) "); } else if (is_compiled_by_c2()) { tty->print("(c2) "); - } else if (is_compiled_by_shark()) { - tty->print("(shark) "); } else if (is_compiled_by_jvmci()) { tty->print("(JVMCI) "); } else { tty->print("(nm) "); } --- 2228,2237 ----
*** 2866,2878 **** c2_java_nmethod_stats.print_nmethod_stats("C2"); #endif #if INCLUDE_JVMCI jvmci_java_nmethod_stats.print_nmethod_stats("JVMCI"); #endif - #ifdef SHARK - shark_java_nmethod_stats.print_nmethod_stats("Shark"); - #endif unknown_java_nmethod_stats.print_nmethod_stats("Unknown"); DebugInformationRecorder::print_statistics(); #ifndef PRODUCT pc_nmethod_stats.print_pc_stats(); #endif --- 2849,2858 ----
< prev index next >