diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-22 22:46:29 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-22 22:46:47 +0900 |
commit | a4d389d8fe87b6af9e5fac0e430d56a4ee9b8470 (patch) | |
tree | dc32131b05243f8192238ae2a12c6c08eb348247 | |
parent | 15eaedf805fb2727c79a6c59af6d5f6c2a6d634b (diff) | |
download | ruby-a4d389d8fe87b6af9e5fac0e430d56a4ee9b8470.tar.gz |
Improve the description of MJIT cancel-all [ci skip]
-rw-r--r-- | mjit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -122,6 +122,7 @@ mjit_update_references(const rb_iseq_t *iseq) iseq->body->jit_unit->iseq = (rb_iseq_t *)rb_gc_location((VALUE)iseq->body->jit_unit->iseq); // We need to invalidate JIT-ed code for the ISeq because it embeds pointer addresses. // To efficiently do that, we use the same thing as TracePoint and thus everything is cancelled for now. + // See mjit.h and tool/ruby_vm/views/_mjit_compile_insn.erb for how `mjit_call_p` is used. mjit_call_p = false; // TODO: instead of cancelling all, invalidate only this one and recompile it with some threshold. } |