mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
java/openjdk16: Fix build on aarch64.
Fully initialize FrameForm: Corrects adlc segfault when malloc junk options are set. Approved by: portmgr (build fix blanket)
This commit is contained in:
parent
96d8de8e10
commit
439056e417
1 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
||||||
|
https://github.com/battleblow/jdk16u/pull/1
|
||||||
|
|
||||||
|
--- src/hotspot/share/adlc/formsopt.cpp.orig 2021-07-23 23:38:59 UTC
|
||||||
|
+++ src/hotspot/share/adlc/formsopt.cpp
|
||||||
|
@@ -436,15 +436,20 @@ void AllocClass::output(FILE *fp) { // Write inf
|
||||||
|
//==============================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;
|
||||||
|
+ _return_addr_loc = false;
|
||||||
|
+ _c_return_addr_loc = false;
|
||||||
|
_return_addr = NULL;
|
||||||
|
_c_return_addr = NULL;
|
||||||
|
_varargs_C_out_slots_killed = NULL;
|
||||||
|
_return_value = NULL;
|
||||||
|
_c_return_value = NULL;
|
||||||
|
- _interpreter_frame_pointer_reg = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
FrameForm::~FrameForm() {
|
Loading…
Add table
Reference in a new issue