From 11b1bf7007d56c9a85c040f363de88e1c82ff541 Mon Sep 17 00:00:00 2001 From: Elif Aslan Date: Tue, 11 Nov 2025 22:20:18 +0000 Subject: [PATCH] Backport 563b268c8f23a1f9f5e70065419d4e8661d1d0b4 --- hotspot/src/share/vm/c1/c1_InstructionPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/share/vm/c1/c1_InstructionPrinter.cpp b/hotspot/src/share/vm/c1/c1_InstructionPrinter.cpp index 842acec5be9..cd8bf43386c 100644 --- a/hotspot/src/share/vm/c1/c1_InstructionPrinter.cpp +++ b/hotspot/src/share/vm/c1/c1_InstructionPrinter.cpp @@ -246,7 +246,7 @@ void InstructionPrinter::print_stack(ValueStack* stack) { output()->cr(); fill_to(start_position, ' '); output()->print("locks ["); - for (int i = i = 0; i < stack->locks_size(); i++) { + for (int i = 0; i < stack->locks_size(); i++) { Value t = stack->lock_at(i); if (i > 0) output()->print(", "); output()->print("%d:", i);