Skip to content

Commit

Permalink
z: NULL initialize dataAddr field for 0 size arrays
Browse files Browse the repository at this point in the history
Update array inline allocation sequence to initialize dataAddr field
only for non-zero size arrays. Field should be left blank for zero
size arrays.

Signed-off-by: Shubham Verma <[email protected]>
  • Loading branch information
VermaSh committed Jan 29, 2025
1 parent 73af0c7 commit 2bf9312
Show file tree
Hide file tree
Showing 2 changed files with 188 additions and 133 deletions.
1 change: 0 additions & 1 deletion runtime/compiler/env/VMJ9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6612,7 +6612,6 @@ TR_J9VM::getObjectAlignmentInBytes()
return (I_32)result;
}


TR_ResolvedMethod *
TR_J9VM::getObjectNewInstanceImplMethod(TR_Memory * trMemory)
{
Expand Down
Loading

0 comments on commit 2bf9312

Please sign in to comment.