From: OpenJDK Team Date: Fri, 20 Dec 2024 10:09:22 +0000 (+0100) Subject: adlc-parser X-Git-Tag: archive/raspbian/17.0.14_6ea-1+rpi1^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2f6b7ec2eba303e75a8b71b30ce90708e86054d7;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() {