From 873d57347fca4fc7f407c2bca45f90797ab6f864 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 30 Oct 2018 22:01:17 +0000 Subject: support theap for T_OBJECT. * variable.c: now instance variable space has theap supports. obj_ivar_heap_alloc() tries to acquire memory from theap. * debug_counter.h: add some counters for theap. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- transient_heap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'transient_heap.h') diff --git a/transient_heap.h b/transient_heap.h index ac0eaadb78..0d90e4fc56 100644 --- a/transient_heap.h +++ b/transient_heap.h @@ -34,5 +34,6 @@ int rb_transient_heap_managed_ptr_p(const void *ptr); /* evacuate functions */ void rb_ary_transient_heap_evacuate(VALUE ary, int promote); +void rb_obj_transient_heap_evacuate(VALUE ary, int promote); #endif -- cgit v1.2.3