From: OpenJDK Team Date: Thu, 23 Oct 2025 10:14:51 +0000 (+0200) Subject: adlc-parser X-Git-Tag: archive/raspbian/21.0.9+10-1_deb13u1+rpi1^2~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1487de4bff12a96d1db11de2cb2a2aa1783a7021;p=openjdk-21.git adlc-parser # DP: fixes an uninitialized memory issue in adlc # DP: fixes an uninitialized memory issue in adlc Gbp-Pq: Name adlc-parser.diff --- diff --git a/src/hotspot/share/adlc/formsopt.cpp b/src/hotspot/share/adlc/formsopt.cpp index b4b8d6e5e..cb81d7fe9 100644 --- a/src/hotspot/share/adlc/formsopt.cpp +++ b/src/hotspot/share/adlc/formsopt.cpp @@ -436,6 +436,10 @@ void AllocClass::output(FILE *fp) { // Write info to output files //==============================Frame Handling================================= //------------------------------FrameForm-------------------------------------- FrameForm::FrameForm() { + _sync_stack_slots = nullptr; + _inline_cache_reg = nullptr; + _interpreter_frame_pointer_reg = nullptr; + _cisc_spilling_operand_name = nullptr; _frame_pointer = nullptr; _c_frame_pointer = nullptr; _alignment = nullptr; @@ -444,7 +448,6 @@ FrameForm::FrameForm() { _varargs_C_out_slots_killed = nullptr; _return_value = nullptr; _c_return_value = nullptr; - _interpreter_frame_pointer_reg = nullptr; } FrameForm::~FrameForm() {