From: OpenJDK Team Date: Thu, 26 Jan 2023 10:36:16 +0000 (+0000) Subject: adlc-parser X-Git-Tag: archive/raspbian/17.0.6+10-1+rpi1^2~25 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=af791ca9c54c77959fadd6bb141c67e2f4035c46;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() {