8365378: Redundant code in Deoptimization::print_statistics

Reviewed-by: jsjolen, coleenp
This commit is contained in:
Paul Hübner 2025-08-21 14:00:18 +00:00 committed by Casper Norrbin
parent 02fe095d29
commit 1548ac4f54

View File

@ -2926,8 +2926,6 @@ void Deoptimization::print_statistics() {
if (counter != 0) {
char name[1*K];
Bytecodes::Code bc = (Bytecodes::Code)(counter & LSB_MASK);
if (bc_case == BC_CASE_LIMIT && (int)bc == 0)
bc = Bytecodes::_illegal;
os::snprintf_checked(name, sizeof(name), "%s/%s/%s",
trap_reason_name(reason),
trap_action_name(action),