From: OpenJDK Team Date: Wed, 23 Apr 2025 23:57:46 +0000 (+0200) Subject: adlc-parser X-Git-Tag: archive/raspbian/21.0.7+6-1+rpi1^2~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=69b2947fed9a942fff0079daf42c94d8075e150b;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() {