diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2021-06-02 14:42:09 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2021-06-02 15:49:32 -0400 |
| commit | ad734a8cc3181cb4ad510e3c7dc73dd8bb943742 (patch) | |
| tree | 0889a41194f44e7440d0f20740a6eca0a65ace89 /spec/ruby/core/array | |
| parent | 2a685da1fcd928530509e99f5edb4117bc377994 (diff) | |
Allocate exact space for objspace_each_objects
We are only iterating over the eden heap so `heap_eden->total_pages`
contains the exact number of pages we need to allocate for.
`heap_allocated_pages` may contain pages in the tomb.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4547
Diffstat (limited to 'spec/ruby/core/array')
0 files changed, 0 insertions, 0 deletions
