From: OpenJDK Team Date: Mon, 9 Sep 2024 13:29:08 +0000 (+0200) Subject: adlc-parser X-Git-Tag: archive/raspbian/21.0.5_6ea-1+rpi1^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1cbb7957944e716918473f057dbfef116028e958;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() {