diff options
author | Peter Zhu <peter@peterzhu.ca> | 2021-08-23 10:49:14 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2021-08-23 10:54:53 -0400 |
commit | eddd369e7378ec762cf81a226aec1a2b8719bf7a (patch) | |
tree | 0722311cc0ce1d4d8474935a42b01a9428f127de /ext/objspace | |
parent | b2e2cf2dedd104acad8610721db5e4d341f135ef (diff) |
Revert "[Feature #18045] Implement size classes for GC"
This reverts commits 48ff7a9f3e47bffb3e4d067a12ba9b936261caa0
and b2e2cf2dedd104acad8610721db5e4d341f135ef because it is causing
crashes in SPARC solaris and i386 debian.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4764
Diffstat (limited to 'ext/objspace')
-rw-r--r-- | ext/objspace/objspace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index 3fa4fd279b..72d1eb888d 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -66,6 +66,7 @@ total_i(VALUE v, void *ptr) case T_IMEMO: case T_ICLASS: case T_NODE: + case T_PAYLOAD: case T_ZOMBIE: return; default: @@ -224,6 +225,7 @@ type2sym(enum ruby_value_type i) CASE_TYPE(T_ICLASS); CASE_TYPE(T_MOVED); CASE_TYPE(T_ZOMBIE); + CASE_TYPE(T_PAYLOAD); #undef CASE_TYPE default: rb_bug("type2sym: unknown type (%d)", i); } |