diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-02-09 16:41:56 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-02-09 17:15:55 +0900 |
commit | 0f05b234fba2d961f1740c094a83f9831c15b210 (patch) | |
tree | 0283939c8605553098467cc4e8982ced2408e57e /vm.c | |
parent | aeaf0dc55595b8a5bfdd92007fb85ef13855c632 (diff) |
Disable GC until VM objects get initialized [Bug #16616]
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3345,6 +3345,8 @@ Init_vm_objects(void) vm->mark_object_ary = rb_ary_tmp_new(128); vm->loading_table = st_init_strtable(); vm->frozen_strings = st_init_table_with_size(&rb_fstring_hash_type, 10000); + + rb_objspace_gc_enable(vm->objspace); } /* top self */ |