mmtk / ruby

Fork of The Ruby Programming Language [mirror], with added support for MMTk
https://www.ruby-lang.org/
Other
0 stars 1 forks source link

Remove pinning fields in built-in Ruby types. #54

Open wks opened 1 year ago

wks commented 1 year ago

If an object calls rb_gc_mark on a field, it pins the child. Such objects are potential pinning parents that must be handled specially. Reducing such objects can reduce the overhead it imposes on copying GC.

Related higher-level issues are:

This issue keeps a list of built-in types that are PPPs, and why they pin their children.

Some object can pin its children