summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-11-02 09:49:23 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-11-02 13:42:11 -0400
commit38ba040d8bda65321daad8d5bfa8956b5072e826 (patch)
tree5c1884f4d99ecd2b0326eac0e8f843ecb917a217 /ext
parentad4f973ecd0a3481ff1abaa972d457e9f5b5fb4e (diff)
Make every initial size pool shape a root shape
This commit makes every initial size pool shape a root shape and assigns it a capacity of 0.
Diffstat (limited to 'ext')
-rw-r--r--ext/objspace/objspace_dump.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c
index bcee5312fc..c80c38eba4 100644
--- a/ext/objspace/objspace_dump.c
+++ b/ext/objspace/objspace_dump.c
@@ -776,11 +776,6 @@ shape_i(rb_shape_t *shape, void *data)
dump_append(dc, ", \"capacity\":");
dump_append_sizet(dc, shape->capacity);
break;
- case SHAPE_INITIAL_CAPACITY:
- dump_append(dc, "\"INITIAL_CAPACITY\"");
- dump_append(dc, ", \"capacity\":");
- dump_append_sizet(dc, shape->capacity);
- break;
case SHAPE_T_OBJECT:
dump_append(dc, "\"T_OBJECT\"");
break;