rb_objspace Struct Reference

Data Structures

struct  mark_func_data_struct

Data Fields

struct {
   size_t   limit
   size_t   increase
malloc_params
rb_heap_t eden_heap
rb_heap_t tomb_heap
struct {
   struct heap_page **   sorted
   size_t   used
   size_t   length
   RVALUE *   range [2]
   size_t   limit
   size_t   increment
   size_t   swept_slots
   size_t   min_free_slots
   size_t   max_free_slots
   size_t   final_slots
   RVALUE *   deferred_final
heap_pages
struct {
   int   dont_gc
   int   dont_lazy_sweep
   int   during_gc
   rb_atomic_t   finalizing
flags
st_table * finalizer_table
mark_stack_t mark_stack
struct {
   int   run
   gc_profile_record *   records
   gc_profile_record *   current_record
   size_t   next_index
   size_t   size
   double   invoke_time
   size_t   minor_gc_count
   size_t   major_gc_count
   double   gc_sweep_start_time
   size_t   total_allocated_object_num_at_gc_start
   size_t   heap_used_at_gc_start
   size_t   count
   size_t   total_allocated_object_num
   size_t   total_freed_object_num
   int   latest_gc_info
profile
struct gc_listglobal_list
rb_event_flag_t hook_events
VALUE gc_stress
struct
rb_objspace::mark_func_data_struct
mark_func_data
struct {
   int   during_minor_gc
   int   parent_object_is_old
   int   need_major_gc
   size_t   last_major_gc
   size_t   remembered_shady_object_count
   size_t   remembered_shady_object_limit
   size_t   old_object_count
   size_t   old_object_limit
   size_t   oldmalloc_increase
   size_t   oldmalloc_increase_limit
rgengc

Detailed Description

Definition at line 417 of file gc.c.


Field Documentation

Definition at line 445 of file gc.c.

Definition at line 449 of file gc.c.

Definition at line 451 of file gc.c.

Definition at line 427 of file gc.c.

Definition at line 444 of file gc.c.

Definition at line 454 of file gc.c.

Definition at line 452 of file gc.c.

struct { ... } rb_objspace::flags

Definition at line 509 of file gc.c.

Definition at line 497 of file gc.c.

Referenced by gc_prof_sweep_timer_start(), and gc_prof_sweep_timer_stop().

Definition at line 507 of file gc.c.

struct { ... } rb_objspace::heap_pages

Definition at line 499 of file gc.c.

Referenced by garbage_collect_body(), and gc_prof_set_heap_info().

rb_event_flag_t rb_objspace::hook_events

Definition at line 508 of file gc.c.

Referenced by rb_objspace_set_event_hook().

Definition at line 420 of file gc.c.

Definition at line 437 of file gc.c.

Definition at line 466 of file gc.c.

Referenced by gc_prof_timer_stop(), and Init_heap().

Definition at line 523 of file gc.c.

Referenced by gc_after_sweep().

Definition at line 433 of file gc.c.

Definition at line 419 of file gc.c.

Definition at line 470 of file gc.c.

Referenced by gc_after_sweep(), gc_marks_body(), and gc_stat_internal().

Definition at line 455 of file gc.c.

Referenced by gc_mark(), gc_mark_stacked_objects(), and Init_heap().

Definition at line 441 of file gc.c.

Definition at line 440 of file gc.c.

Definition at line 469 of file gc.c.

Referenced by gc_after_sweep(), gc_marks_body(), and gc_stat_internal().

Definition at line 521 of file gc.c.

Referenced by garbage_collect_body(), gc_after_sweep(), and gc_before_sweep().

Definition at line 527 of file gc.c.

Referenced by garbage_collect_body(), gc_mark_children(), gc_marks(), and gc_stat_internal().

Definition at line 528 of file gc.c.

Referenced by garbage_collect_body(), gc_marks(), and gc_stat_internal().

Definition at line 534 of file gc.c.

Referenced by gc_before_sweep(), gc_stat_internal(), and objspace_malloc_increase().

Definition at line 535 of file gc.c.

Referenced by gc_before_sweep(), gc_stat_internal(), Init_heap(), and ruby_gc_set_params().

Definition at line 519 of file gc.c.

Referenced by gc_mark_children(), gc_mark_roots(), gc_marks_body(), and rgengc_check_relation().

struct { ... } rb_objspace::profile

Definition at line 434 of file gc.c.

Definition at line 526 of file gc.c.

Referenced by garbage_collect_body(), gc_marks(), and gc_stat_internal().

struct { ... } rb_objspace::rgengc

Definition at line 461 of file gc.c.

Referenced by gc_prof_setup_new_record(), and gc_profile_clear().

struct heap_page** rb_objspace::sorted [read]

Definition at line 431 of file gc.c.

Definition at line 439 of file gc.c.

Definition at line 428 of file gc.c.

Definition at line 503 of file gc.c.

Referenced by garbage_collect_body(), gc_stat_internal(), newobj_of(), and objspace_live_slot().

Definition at line 498 of file gc.c.

Referenced by garbage_collect_body(), and gc_prof_set_heap_info().

Definition at line 432 of file gc.c.


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

Generated on 18 May 2020 for Ruby by  doxygen 1.6.1