From 7424ea184f9d67c1c7f3ee97494ed3bd1aa60833 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 11 Jul 2022 10:09:39 -0400 Subject: Implement Objects on VWA This commit implements Objects on Variable Width Allocation. This allows Objects with more ivars to be embedded (i.e. contents directly follow the object header) which improves performance through better cache locality. --- debug.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debug.c') diff --git a/debug.c b/debug.c index 6b5684efb2..d927f72231 100644 --- a/debug.c +++ b/debug.c @@ -53,7 +53,9 @@ const union { rb_econv_result_t econv_result; enum ruby_preserved_encindex encoding_index; enum ruby_robject_flags robject_flags; +#if !USE_RVARGC enum ruby_robject_consts robject_consts; +#endif enum ruby_rmodule_flags rmodule_flags; enum ruby_rstring_flags rstring_flags; #if !USE_RVARGC -- cgit v1.2.3