Skip to content

Update mmtk-core and remove LOS workaround - #117

Merged
peterzhu2118 merged 1 commit into
ruby:mainfrom
wks:fix/los-mark-bit
Sep 29, 2026
Merged

peterzhu2118 merged 1 commit into
ruby:mainfrom
wks:fix/los-mark-bit

Conversation

@wks

@wks wks commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

There was a bug in mmtk-core that caused is_live() and is_reachable() to return wrong results for objects in the large object space. The function object_survives_current_gc was introduced to workaround the bug.

The bug has been fixed in mmtk-core. We bump the mmtk-core dependency revision, and remove the workaround. We now simply use object.is_reachable() to test if an object will survive the current GC.

See: mmtk/mmtk-core#1594

There was a bug in mmtk-core that caused `is_live()` and
`is_reachable()` to return wrong results for objects in the large object
space.  The function `object_survives_current_gc` was introduced to
workaround the bug.

The bug has been fixed in mmtk-core.  We bump the mmtk-core dependency
revision, and remove the workaround.  We now simply use
`object.is_reachable()` to test if an object will survive the current
GC.

See: mmtk/mmtk-core#1594
@wks
wks requested a review from peterzhu2118 September 29, 2026 05:36
@peterzhu2118
peterzhu2118 merged commit ab74c74 into ruby:main Sep 29, 2026
13 of 15 checks passed
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