Skip to content

Limit the width of reified objects to 50 by default.#5518

Merged
headius merged 3 commits intojruby:masterfrom
headius:limit_reified_width
May 15, 2019
Merged

Limit the width of reified objects to 50 by default.#5518
headius merged 3 commits intojruby:masterfrom
headius:limit_reified_width

Conversation

@headius
Copy link
Member

@headius headius commented Dec 13, 2018

This relates to #5511 but is not a fix. This only limits how wide
these object will be, so we're not generating extremely wide
classes for weirdly dynamic objects that create lots of new
instance variables.

This will be improved once we make objects know about their own
shapes, so they can evolve to handle the right number of variables
that are actually used.

This relates to jruby#5511 but is not a fix. This only limits how wide
these object will be, so we're not generating extremely wide
classes for weirdly dynamic objects that create lots of new
instance variables.

This will be improved once we make objects know about their own
shapes, so they can evolve to handle the right number of variables
that are actually used.
@headius headius added this to the JRuby 9.2.6.0 milestone Dec 13, 2018
@headius
Copy link
Member Author

headius commented Dec 13, 2018

cc @guizmaii

@headius
Copy link
Member Author

headius commented Dec 13, 2018

Ok looks like additional work needed...it's trying to grab vars at widths outside the max.

@headius headius modified the milestones: JRuby 9.2.6.0, JRuby 9.2.7.0 Dec 18, 2018
@headius headius modified the milestones: JRuby 9.2.7.0, JRuby 9.3.0.0 Apr 9, 2019
@headius headius merged commit 493822c into jruby:master May 15, 2019
@headius headius modified the milestones: JRuby 9.3.0.0, JRuby 9.2.8.0 May 15, 2019
@headius headius deleted the limit_reified_width branch May 15, 2019 21:22
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