src/share/vm/c1/c1_Runtime1.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8033145 Cdiff src/share/vm/c1/c1_Runtime1.cpp

src/share/vm/c1/c1_Runtime1.cpp

Print this page

        

*** 125,135 **** static int _byte_arraycopy_cnt = 0; static int _short_arraycopy_cnt = 0; static int _int_arraycopy_cnt = 0; static int _long_arraycopy_cnt = 0; ! static int _oop_arraycopy_cnt = 0; address Runtime1::arraycopy_count_address(BasicType type) { switch (type) { case T_BOOLEAN: case T_BYTE: return (address)&_byte_arraycopy_cnt; --- 125,135 ---- static int _byte_arraycopy_cnt = 0; static int _short_arraycopy_cnt = 0; static int _int_arraycopy_cnt = 0; static int _long_arraycopy_cnt = 0; ! static int _oop_arraycopy_stub_cnt = 0; address Runtime1::arraycopy_count_address(BasicType type) { switch (type) { case T_BOOLEAN: case T_BYTE: return (address)&_byte_arraycopy_cnt;
*** 138,148 **** case T_FLOAT: case T_INT: return (address)&_int_arraycopy_cnt; case T_DOUBLE: case T_LONG: return (address)&_long_arraycopy_cnt; case T_ARRAY: ! case T_OBJECT: return (address)&_oop_arraycopy_cnt; default: ShouldNotReachHere(); return NULL; } } --- 138,148 ---- case T_FLOAT: case T_INT: return (address)&_int_arraycopy_cnt; case T_DOUBLE: case T_LONG: return (address)&_long_arraycopy_cnt; case T_ARRAY: ! case T_OBJECT: return (address)&_oop_arraycopy_stub_cnt; default: ShouldNotReachHere(); return NULL; } }
*** 1483,1493 **** tty->print_cr(" _short_arraycopy_cnt: %d", _short_arraycopy_cnt); tty->print_cr(" _int_arraycopy_cnt: %d", _int_arraycopy_cnt); tty->print_cr(" _long_arraycopy_cnt: %d", _long_arraycopy_cnt); tty->print_cr(" _primitive_arraycopy_cnt: %d", _primitive_arraycopy_cnt); tty->print_cr(" _oop_arraycopy_cnt (C): %d", Runtime1::_oop_arraycopy_cnt); ! tty->print_cr(" _oop_arraycopy_cnt (stub): %d", _oop_arraycopy_cnt); tty->print_cr(" _arraycopy_slowcase_cnt: %d", _arraycopy_slowcase_cnt); tty->print_cr(" _arraycopy_checkcast_cnt: %d", _arraycopy_checkcast_cnt); tty->print_cr(" _arraycopy_checkcast_attempt_cnt:%d", _arraycopy_checkcast_attempt_cnt); tty->print_cr(" _new_type_array_slowcase_cnt: %d", _new_type_array_slowcase_cnt); --- 1483,1493 ---- tty->print_cr(" _short_arraycopy_cnt: %d", _short_arraycopy_cnt); tty->print_cr(" _int_arraycopy_cnt: %d", _int_arraycopy_cnt); tty->print_cr(" _long_arraycopy_cnt: %d", _long_arraycopy_cnt); tty->print_cr(" _primitive_arraycopy_cnt: %d", _primitive_arraycopy_cnt); tty->print_cr(" _oop_arraycopy_cnt (C): %d", Runtime1::_oop_arraycopy_cnt); ! tty->print_cr(" _oop_arraycopy_cnt (stub): %d", _oop_arraycopy_stub_cnt); tty->print_cr(" _arraycopy_slowcase_cnt: %d", _arraycopy_slowcase_cnt); tty->print_cr(" _arraycopy_checkcast_cnt: %d", _arraycopy_checkcast_cnt); tty->print_cr(" _arraycopy_checkcast_attempt_cnt:%d", _arraycopy_checkcast_attempt_cnt); tty->print_cr(" _new_type_array_slowcase_cnt: %d", _new_type_array_slowcase_cnt);
src/share/vm/c1/c1_Runtime1.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File