From: OpenJDK Team Date: Wed, 17 Apr 2024 12:24:58 +0000 (+0200) Subject: adlc-parser X-Git-Tag: archive/raspbian/17.0.11+9-1_deb12u1+rpi1^2^2~32 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d1e286f1a92e97dfc6c19966f2cc1cb9bb12b9f1;p=openjdk-17.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 6f1a59975..99312bdc2 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 = NULL; + _inline_cache_reg = NULL; + _interpreter_frame_pointer_reg = NULL; + _cisc_spilling_operand_name = NULL; _frame_pointer = NULL; _c_frame_pointer = NULL; _alignment = NULL; @@ -444,7 +448,6 @@ FrameForm::FrameForm() { _varargs_C_out_slots_killed = NULL; _return_value = NULL; _c_return_value = NULL; - _interpreter_frame_pointer_reg = NULL; } FrameForm::~FrameForm() {