Ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e0ba6b95ab71a441357ed5484e33498)
Data Fields
heap_page Struct Reference

Data Fields

short slot_size
 
short total_slots
 
short free_slots
 
short pinned_slots
 
short final_slots
 
struct {
   unsigned int   before_sweep: 1
 
   unsigned int   has_remembered_objects: 1
 
   unsigned int   has_uncollectible_shady_objects: 1
 
   unsigned int   in_tomb: 1
 
flags
 
rb_size_pool_tsize_pool
 
struct heap_pagefree_next
 
RVALUEstart
 
RVALUEfreelist
 
struct list_node page_node
 
bits_t wb_unprotected_bits [HEAP_PAGE_BITMAP_LIMIT]
 
bits_t mark_bits [HEAP_PAGE_BITMAP_LIMIT]
 
bits_t uncollectible_bits [HEAP_PAGE_BITMAP_LIMIT]
 
bits_t marking_bits [HEAP_PAGE_BITMAP_LIMIT]
 
bits_t pinned_bits [HEAP_PAGE_BITMAP_LIMIT]
 

Detailed Description

Definition at line 885 of file gc.c.

Field Documentation

◆ before_sweep

unsigned int heap_page::before_sweep

Definition at line 892 of file gc.c.

◆ final_slots

short heap_page::final_slots

Definition at line 890 of file gc.c.

◆ free_next

struct heap_page* heap_page::free_next

Definition at line 900 of file gc.c.

◆ free_slots

short heap_page::free_slots

Definition at line 888 of file gc.c.

◆ freelist

RVALUE* heap_page::freelist

Definition at line 902 of file gc.c.

◆ has_remembered_objects

unsigned int heap_page::has_remembered_objects

Definition at line 893 of file gc.c.

◆ has_uncollectible_shady_objects

unsigned int heap_page::has_uncollectible_shady_objects

Definition at line 894 of file gc.c.

◆ in_tomb

unsigned int heap_page::in_tomb

Definition at line 895 of file gc.c.

◆ mark_bits

bits_t heap_page::mark_bits[HEAP_PAGE_BITMAP_LIMIT]

Definition at line 907 of file gc.c.

◆ marking_bits

bits_t heap_page::marking_bits[HEAP_PAGE_BITMAP_LIMIT]

Definition at line 909 of file gc.c.

◆ page_node

struct list_node heap_page::page_node

Definition at line 903 of file gc.c.

◆ pinned_bits

bits_t heap_page::pinned_bits[HEAP_PAGE_BITMAP_LIMIT]

Definition at line 912 of file gc.c.

◆ pinned_slots

short heap_page::pinned_slots

Definition at line 889 of file gc.c.

◆ size_pool

rb_size_pool_t* heap_page::size_pool

Definition at line 898 of file gc.c.

◆ slot_size

short heap_page::slot_size

Definition at line 886 of file gc.c.

◆ start

RVALUE* heap_page::start

Definition at line 901 of file gc.c.

◆ total_slots

short heap_page::total_slots

Definition at line 887 of file gc.c.

◆ uncollectible_bits

bits_t heap_page::uncollectible_bits[HEAP_PAGE_BITMAP_LIMIT]

Definition at line 908 of file gc.c.

◆ wb_unprotected_bits

bits_t heap_page::wb_unprotected_bits[HEAP_PAGE_BITMAP_LIMIT]

Definition at line 905 of file gc.c.


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