ruby/ext/objspace
Peter Zhu 51bd816517 [Feature #20470] Split GC into gc_impl.c
This commit splits gc.c into two files:

- gc.c now only contains code not specific to Ruby GC. This includes
  code to mark objects (which the GC implementation may choose not to
  use) and wrappers for internal APIs that the implementation may need
  to use (e.g. locking the VM).

- gc_impl.c now contains the implementation of Ruby's GC. This includes
  marking, sweeping, compaction, and statistics. Most importantly,
  gc_impl.c only uses public APIs in Ruby and a limited set of functions
  exposed in gc.c. This allows us to build gc_impl.c independently of
  Ruby and plug Ruby's GC into itself.
2024-07-03 09:03:40 -04:00
..
lib [DOC] Improve ObjectSpace#dump_XXX method docs 2023-02-19 22:32:52 +02:00
depend ruby tool/update-deps --fix 2024-04-27 21:55:28 +09:00
extconf.rb ext/objspace: Specify frozen_string_literal: true. 2017-02-12 04:31:25 +00:00
object_tracing.c Merge gc.h and internal/gc.h 2023-02-09 10:32:29 -05:00
objspace.c [Feature #20470] Split GC into gc_impl.c 2024-07-03 09:03:40 -04:00
objspace.h * ext/objspace/object_tracing.c: Add experimental methods to dump 2013-11-08 17:06:55 +00:00
objspace_dump.c Implement chilled strings 2024-03-19 09:26:49 +01:00