aboutsummaryrefslogtreecommitdiffstats
path: root/transient_heap.h
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-09 20:32:04 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-09 20:32:04 +0000
commit3ef4db15e95740839a0ed6d0224b2c9562bb2544 (patch)
tree18c23ed1b2e3c7b55860c27238a98cafafe63d9f /transient_heap.h
parentc09e35d7bbb5c18124d7ab54740bef966e145529 (diff)
downloadruby-3ef4db15e95740839a0ed6d0224b2c9562bb2544.tar.gz
Adding `GC.compact` and compacting GC support.
This commit adds the new method `GC.compact` and compacting GC support. Please see this issue for caveats: https://bugs.ruby-lang.org/issues/15626 [Feature #15626] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transient_heap.h')
-rw-r--r--transient_heap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/transient_heap.h b/transient_heap.h
index a34aa1e4f8..7b5c42ca8e 100644
--- a/transient_heap.h
+++ b/transient_heap.h
@@ -30,6 +30,7 @@ void rb_transient_heap_mark(VALUE obj, const void *ptr);
void rb_transient_heap_promote(VALUE obj);
void rb_transient_heap_start_marking(int full_marking);
void rb_transient_heap_finish_marking(void);
+void rb_transient_heap_update_references(void);
/* for debug API */
void rb_transient_heap_dump(void);
@@ -48,6 +49,7 @@ void rb_struct_transient_heap_evacuate(VALUE st, int promote);
#define rb_transient_heap_verify() ((void)0)
#define rb_transient_heap_promote(obj) ((void)0)
#define rb_transient_heap_start_marking(full_marking) ((void)0)
+#define rb_transient_heap_update_references() ((void)0)
#define rb_transient_heap_finish_marking() ((void)0)
#define rb_transient_heap_mark(obj, ptr) ((void)0)