summaryrefslogtreecommitdiff
path: root/mjit_worker.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-05-15 23:13:36 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2019-05-15 23:14:07 -0700
commit82332c7d8b17b610a347f7c804219c7fcb702d23 (patch)
treed7abbb48b3487e6daf014e4f7c848a5fc8d5fff3 /mjit_worker.c
parent18e43e823106f15c8aaceb1f56874bdf67bc36a3 (diff)
Rename mjit_gc_finish_hook to mjit_gc_exit_hook
because @ko1 said "gc_finish" is confusing like a finish of entire GC process
Diffstat (limited to 'mjit_worker.c')
-rw-r--r--mjit_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit_worker.c b/mjit_worker.c
index 8b68cf0..4a7d47c 100644
--- a/mjit_worker.c
+++ b/mjit_worker.c
@@ -1052,7 +1052,7 @@ convert_unit_to_func(struct rb_mjit_unit *unit)
// print #include of MJIT header, etc.
compile_prelude(f);
- // wait until mjit_gc_finish_hook is called
+ // wait until mjit_gc_exit_hook is called
CRITICAL_SECTION_START(3, "before mjit_compile to wait GC finish");
while (in_gc) {
verbose(3, "Waiting wakeup from GC");