Skip to content

Fix assertion failure when marking machine stack - #137

Merged
peterzhu2118 merged 1 commit into
mainfrom
machine-stack-scan-pin
Nov 4, 2026
Merged

peterzhu2118 merged 1 commit into
mainfrom
machine-stack-scan-pin

Conversation

@peterzhu2118

Copy link
Copy Markdown
Member

It's possible that a value on the machine stack appears to point into the MMTk heap. When this value is first marked during the pinning phase, it does not pin it if the object is not live. If later on, an object is evacuated into the value, then it will appear to not be pinned. Therefore, we cannot assert that target_object is actually pinned.

It's possible that a value on the machine stack appears to point into
the MMTk heap. When this value is first marked during the pinning phase,
it does not pin it if the object is not live. If later on, an object is
evacuated into the value, then it will appear to not be pinned. Therefore,
we cannot assert that target_object is actually pinned.
@peterzhu2118
peterzhu2118 merged commit 76a2123 into main Nov 4, 2026
27 of 30 checks passed
@peterzhu2118
peterzhu2118 deleted the machine-stack-scan-pin branch November 4, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant