Skip to content

Conversation

@headius
Copy link
Contributor

@headius headius commented Dec 1, 2025

Global object flags will become private in a future JRuby version, to allow replacing them with smaller and more localized flags in each type of object. This patch moves the StringIO-specific flags into the StringIO object and eliminates all accesses of the global RubyBasicObject.flags.

Global object flags will become private in a future JRuby version,
to allow replacing them with smaller and more localized flags in
each type of object. This patch moves the StringIO-specific flags
into the StringIO object and eliminates all accesses of the global
RubyBasicObject.flags.
@headius
Copy link
Contributor Author

headius commented Dec 1, 2025

@kou @nobu This can be merged and released at any time. Let me know if I can proceed with that. jruby/jruby#9095 will depend upon it.

@headius headius merged commit 78da7ae into ruby:master Dec 1, 2025
53 checks passed
@headius headius deleted the no_object_flags branch December 1, 2025 17:03
@kou
Copy link
Member

kou commented Dec 1, 2025

You can do it!
(If you can't, I can do it.)

@headius
Copy link
Contributor Author

headius commented Dec 2, 2025

You can do it!

Done! I wasn't sure how much detail to put in NEWS so I included the first line of all recent commits plus the issue numbers.

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