Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/rubyPublic

Makerclass_ext->const_tbl a managed object#13807

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
casperisfine wants to merge6 commits intoruby:master
base:master
Choose a base branch
Loading
fromShopify:rclass-marked-const-table

Conversation

casperisfine
Copy link
Contributor

The table itself is arb_id_marked_table and the values areIMEMO/constentry.

This open the door to do RCU updates of constant tables.

@casperisfinecasperisfineforce-pushed therclass-marked-const-table branch 2 times, most recently fromb3689b6 to202bebcCompareJuly 8, 2025 09:33
@launchable-appLaunchable app

This comment has been minimized.

@casperisfinecasperisfineforce-pushed therclass-marked-const-table branch 4 times, most recently frome420f5a to23493ceCompareJuly 11, 2025 12:33
@luke-gru
Copy link
Contributor

@byroot Could the CI failures be related tothis? The mask appears to be different.

@casperisfine
Copy link
ContributorAuthor

Hum, that's a good catch. Thank you.

@casperisfinecasperisfineforce-pushed therclass-marked-const-table branch frome90e3df toeaf45a1CompareJuly 15, 2025 09:08
@casperisfine
Copy link
ContributorAuthor

Ref:ruby/debug#1151

Similar to `managed_id_table`, but the values are marked.This can be used to implement RCU pattern on id tablesthat contain marked objects (e.g. `class->const_tbl`).
@casperisfinecasperisfineforce-pushed therclass-marked-const-table branch fromeaf45a1 to94e1d88CompareJuly 15, 2025 10:20
The table itself is a `rb_id_marked_table` and the valuesare `IMEMO/constentry`.This open the door to do RCU updates of constant tables.
@casperisfinecasperisfineforce-pushed therclass-marked-const-table branch from94e1d88 to5f6cdc9CompareJuly 15, 2025 10:21
@casperisfinecasperisfineforce-pushed therclass-marked-const-table branch from5f6cdc9 to22019c9CompareJuly 15, 2025 10:21
@casperisfine
Copy link
ContributorAuthor

Could the CI failures be related tothis? The mask appears to be different.

It did indeed fix one issue. Unfortunately thedebug gem suite is still failing when running inparse.y mode, unclear why.

This also is unrelated to the write barrier issue :/. It's progress though.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@casperisfine@luke-gru@byroot

[8]ページ先頭

©2009-2025 Movatter.jp