Skip to content

Tag collector heap-data structs with alias regions#13734

Merged
fitzgen merged 1 commit into
bytecodealliance:mainfrom
fitzgen:vmctx-gc-heap-data-alias-regions
Jun 26, 2026
Merged

Tag collector heap-data structs with alias regions#13734
fitzgen merged 1 commit into
bytecodealliance:mainfrom
fitzgen:vmctx-gc-heap-data-alias-regions

Conversation

@fitzgen

@fitzgen fitzgen commented Jun 25, 2026

Copy link
Copy Markdown
Member

Add VMDrcHeapData, VMCopyingHeapData, and VMNullHeapData variants of VmType and AliasRegions helpers that emit their field loads/stores. Tag the DRC over-approximated-stack-roots list head/length fields, the copying collector's bump_ptr/active_space_end, and the null collector's bump finger with their owning struct's region instead of gc_memflags().

@fitzgen fitzgen requested review from a team as code owners June 25, 2026 20:51
@fitzgen fitzgen requested review from cfallin and removed request for a team June 25, 2026 20:51
Add `VMDrcHeapData`, `VMCopyingHeapData`, and `VMNullHeapData` variants of
`VmType` and `AliasRegions` helpers that emit their field loads/stores. Tag the
DRC over-approximated-stack-roots list head/length fields, the copying
collector's `bump_ptr`/`active_space_end`, and the null collector's bump finger
with their owning struct's region instead of `gc_memflags()`.
@fitzgen fitzgen force-pushed the vmctx-gc-heap-data-alias-regions branch from b16bb84 to dfdc28e Compare June 26, 2026 16:24
@fitzgen fitzgen enabled auto-merge June 26, 2026 16:24
@fitzgen fitzgen added this pull request to the merge queue Jun 26, 2026
Merged via the queue into bytecodealliance:main with commit 6050a9b Jun 26, 2026
52 checks passed
@fitzgen fitzgen deleted the vmctx-gc-heap-data-alias-regions branch June 26, 2026 16:59
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.

2 participants