< prev index next >

src/hotspot/share/runtime/sharedRuntime.hpp

Print this page

        

*** 72,82 **** static UncommonTrapBlob* _uncommon_trap_blob; #endif // COMPILER2 #ifndef PRODUCT // Counters ! static int _nof_megamorphic_calls; // total # of megamorphic calls (through vtable) #endif // !PRODUCT private: enum { POLL_AT_RETURN, POLL_AT_LOOP, POLL_AT_VECTOR_LOOP }; static SafepointBlob* generate_handler_blob(address call_ptr, int poll_type); --- 72,82 ---- static UncommonTrapBlob* _uncommon_trap_blob; #endif // COMPILER2 #ifndef PRODUCT // Counters ! static int64_t _nof_megamorphic_calls; // total # of megamorphic calls (through vtable) #endif // !PRODUCT private: enum { POLL_AT_RETURN, POLL_AT_LOOP, POLL_AT_VECTOR_LOOP }; static SafepointBlob* generate_handler_blob(address call_ptr, int poll_type);
*** 566,585 **** static int _mon_exit_ctr; // monitor exit slow static int _partial_subtype_ctr; // SubRoutines::partial_subtype_check // Statistics code // stats for "normal" compiled calls (non-interface) ! static int _nof_normal_calls; // total # of calls ! static int _nof_optimized_calls; // total # of statically-bound calls ! static int _nof_inlined_calls; // total # of inlined normal calls ! static int _nof_static_calls; // total # of calls to static methods or super methods (invokespecial) ! static int _nof_inlined_static_calls; // total # of inlined static calls // stats for compiled interface calls ! static int _nof_interface_calls; // total # of compiled calls ! static int _nof_optimized_interface_calls; // total # of statically-bound interface calls ! static int _nof_inlined_interface_calls; // total # of inlined interface calls ! static int _nof_megamorphic_interface_calls;// total # of megamorphic interface calls // stats for runtime exceptions static int _nof_removable_exceptions; // total # of exceptions that could be replaced by branches due to inlining public: // for compiler static address nof_normal_calls_addr() { return (address)&_nof_normal_calls; } --- 566,585 ---- static int _mon_exit_ctr; // monitor exit slow static int _partial_subtype_ctr; // SubRoutines::partial_subtype_check // Statistics code // stats for "normal" compiled calls (non-interface) ! static int64_t _nof_normal_calls; // total # of calls ! static int64_t _nof_optimized_calls; // total # of statically-bound calls ! static int64_t _nof_inlined_calls; // total # of inlined normal calls ! static int64_t _nof_static_calls; // total # of calls to static methods or super methods (invokespecial) ! static int64_t _nof_inlined_static_calls; // total # of inlined static calls // stats for compiled interface calls ! static int64_t _nof_interface_calls; // total # of compiled calls ! static int64_t _nof_optimized_interface_calls; // total # of statically-bound interface calls ! static int64_t _nof_inlined_interface_calls; // total # of inlined interface calls ! static int64_t _nof_megamorphic_interface_calls;// total # of megamorphic interface calls // stats for runtime exceptions static int _nof_removable_exceptions; // total # of exceptions that could be replaced by branches due to inlining public: // for compiler static address nof_normal_calls_addr() { return (address)&_nof_normal_calls; }
*** 589,599 **** static address nof_inlined_static_calls_addr() { return (address)&_nof_inlined_static_calls; } static address nof_interface_calls_addr() { return (address)&_nof_interface_calls; } static address nof_optimized_interface_calls_addr() { return (address)&_nof_optimized_interface_calls; } static address nof_inlined_interface_calls_addr() { return (address)&_nof_inlined_interface_calls; } static address nof_megamorphic_interface_calls_addr() { return (address)&_nof_megamorphic_interface_calls; } ! static void print_call_statistics(int comp_total); static void print_statistics(); static void print_ic_miss_histogram(); #endif // PRODUCT }; --- 589,599 ---- static address nof_inlined_static_calls_addr() { return (address)&_nof_inlined_static_calls; } static address nof_interface_calls_addr() { return (address)&_nof_interface_calls; } static address nof_optimized_interface_calls_addr() { return (address)&_nof_optimized_interface_calls; } static address nof_inlined_interface_calls_addr() { return (address)&_nof_inlined_interface_calls; } static address nof_megamorphic_interface_calls_addr() { return (address)&_nof_megamorphic_interface_calls; } ! static void print_call_statistics(uint64_t comp_total); static void print_statistics(); static void print_ic_miss_histogram(); #endif // PRODUCT };
< prev index next >