Skip to content

Commit 50654bf

Browse files
committed
Mark objects before analysis in mapAllLocals
Related: ibmruntimes/Semeru-Runtimes#93 Signed-off-by: Babneet Singh <[email protected]>
1 parent dcca4dd commit 50654bf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

runtime/stackmap/localmap.c

+10
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ mapAllLocals(J9PortLibrary * portLibrary, J9ROMMethod * romMethod, PARALLEL_TYPE
9393
PORT_ACCESS_FROM_PORT(portLibrary);
9494
#endif
9595

96+
/* Start with the arguments configured from the signature */
97+
/* A side effect is zeroing out the result array */
98+
argBitsFromSignature(
99+
J9UTF8_DATA(J9ROMMETHOD_SIGNATURE(romMethod)),
100+
resultArrayBase,
101+
(remainingLocals + 31) >> 5,
102+
(romMethod->modifiers & J9AccStatic) != 0);
103+
104+
parallelResultArrayBase = (PARALLEL_TYPE *) resultArrayBase;
105+
96106
/* set up data to walk exceptions */
97107
if (J9ROMMETHOD_HAS_EXCEPTION_INFO(romMethod)) {
98108
exceptionData = J9_EXCEPTION_DATA_FROM_ROM_METHOD(romMethod);

0 commit comments

Comments
 (0)