Skip to content

Commit b4d1a22

Browse files
committed
z: NULL initialize dataAddr field for 0 size arrays
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]>
1 parent 73af0c7 commit b4d1a22

File tree

2 files changed

+188
-133
lines changed

2 files changed

+188
-133
lines changed

runtime/compiler/env/VMJ9.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6612,7 +6612,6 @@ TR_J9VM::getObjectAlignmentInBytes()
66126612
return (I_32)result;
66136613
}
66146614

6615-
66166615
TR_ResolvedMethod *
66176616
TR_J9VM::getObjectNewInstanceImplMethod(TR_Memory * trMemory)
66186617
{

0 commit comments

Comments
 (0)