Advertisement
petruchito

Ruby 2.2 GC

May 21st, 2015
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.87 KB | None | 0 0
  1. $ RUBY_GC_HEAP_INIT_SLOTS=600000 ruby gc-test.rb 1
  2. ruby version 2.2.0
  3.  proces   pid log          priv_dirty shared_dirty
  4.  Parent  2368 post alloc           31          0
  5. {:count=>3,
  6.  :heap_allocated_pages=>1470,
  7.  :heap_sorted_length=>2566,
  8.  :heap_allocatable_pages=>1095,
  9.  :heap_available_slots=>599162,
  10.  :heap_live_slots=>508082,
  11.  :heap_free_slots=>91080,
  12.  :heap_final_slots=>0,
  13.  :heap_marked_slots=>508036,
  14.  :heap_swept_slots=>487752,
  15.  :heap_eden_pages=>1341,
  16.  :heap_tomb_pages=>129,
  17.  :total_allocated_pages=>1470,
  18.  :total_freed_pages=>0,
  19.  :total_allocated_objects=>548526,
  20.  :total_freed_objects=>40444,
  21.  :malloc_increase_bytes=>6992,
  22.  :malloc_increase_bytes_limit=>16777216,
  23.  :minor_gc_count=>0,
  24.  :major_gc_count=>3,
  25.  :remembered_wb_unprotected_objects=>161,
  26.  :remembered_wb_unprotected_objects_limit=>322,
  27.  :old_objects=>507852,
  28.  :old_objects_limit=>1015704,
  29.  :oldmalloc_increase_bytes=>7440,
  30.  :oldmalloc_increase_bytes_limit=>16777216}
  31.  Parent  2368 4 fork                1         34
  32.  Child   2370 4 initial             1         34
  33. {:count=>4,
  34.  :heap_allocated_pages=>1470,
  35.  :heap_sorted_length=>2566,
  36.  :heap_allocatable_pages=>1095,
  37.  :heap_available_slots=>599162,
  38.  :heap_live_slots=>508088,
  39.  :heap_free_slots=>91074,
  40.  :heap_final_slots=>0,
  41.  :heap_marked_slots=>508086,
  42.  :heap_swept_slots=>485257,
  43.  :heap_eden_pages=>1340,
  44.  :heap_tomb_pages=>130,
  45.  :total_allocated_pages=>1470,
  46.  :total_freed_pages=>0,
  47.  :total_allocated_objects=>550196,
  48.  :total_freed_objects=>42108,
  49.  :malloc_increase_bytes=>1104,
  50.  :malloc_increase_bytes_limit=>16777216,
  51.  :minor_gc_count=>1,
  52.  :major_gc_count=>3,
  53.  :remembered_wb_unprotected_objects=>162,
  54.  :remembered_wb_unprotected_objects_limit=>322,
  55.  :old_objects=>507895,
  56.  :old_objects_limit=>1015704,
  57.  :oldmalloc_increase_bytes=>1552,
  58.  :oldmalloc_increase_bytes_limit=>16777216}
  59.  Child   2370 8 empty GC            2         32
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement