Skip to content

Tag GC-heap object writes with the GC-heap alias region#13718

Open
fitzgen wants to merge 1 commit into
bytecodealliance:mainfrom
fitzgen:gc-object-stores-alias-regions
Open

Tag GC-heap object writes with the GC-heap alias region#13718
fitzgen wants to merge 1 commit into
bytecodealliance:mainfrom
fitzgen:gc-object-stores-alias-regions

Conversation

@fitzgen

@fitzgen fitzgen commented Jun 23, 2026

Copy link
Copy Markdown
Member

The copying collector's fresh-object header initialization writes now use the canonical GC memflags (like the null collector), and the pre-interned funcref array-element store gets the GC-heap region, matching how those locations are read elsewhere.

Note: these missing regions could not result in miscompiles previously because regionless stores are treated as memory fences by alias analysis.

The copying collector's fresh-object header initialization writes now use the
canonical GC memflags (like the null collector), and the pre-interned funcref
array-element store gets the GC-heap region, matching how those locations are
read elsewhere.

Note: these missing regions could not result in miscompiles previously because
regionless stores are treated as memory fences by alias analysis.
@fitzgen fitzgen requested review from a team as code owners June 23, 2026 18:55
@fitzgen fitzgen requested review from cfallin and removed request for a team June 23, 2026 18:55
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