Ruby: rb_heap_struct Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
rb_heap_struct Struct Reference

## Data Fields
struct heap_page * | free_pages
struct list_head | pages
struct heap_page * | sweeping_page
struct heap_page * | compact_cursor
size_t | compact_cursor_index
size_t | total_pages
size_t | total_slots

## Detailed Description

Definition at line 647 of file gc.c.

## Field Documentation

## ◆ compact_cursor

struct heap_page* rb_heap_struct::compact_cursor

Definition at line 651 of file gc.c.

## ◆ compact_cursor_index

size_t rb_heap_struct::compact_cursor_index

Definition at line 652 of file gc.c.

## ◆ free_pages

struct heap_page* rb_heap_struct::free_pages

Definition at line 648 of file gc.c.

## ◆ pages

struct list_head rb_heap_struct::pages

Definition at line 649 of file gc.c.

Referenced by rb_objspace_alloc().

## ◆ sweeping_page

struct heap_page* rb_heap_struct::sweeping_page

Definition at line 650 of file gc.c.

## ◆ total_pages

size_t rb_heap_struct::total_pages

Definition at line 656 of file gc.c.

Referenced by rb_objspace_free().

## ◆ total_slots

size_t rb_heap_struct::total_slots

Definition at line 657 of file gc.c.

Referenced by rb_objspace_free().

The documentation for this struct was generated from the following file:

- gc.c