[ruby-cvs:71375] k0kubun:r64283 (trunk): _mjit_compile_pc_and_sp.erb: always move pc

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Sat Aug 11 14:33:16 JST 2018

k0kubun	2018-08-11 14:33:15 +0900 (Sat, 11 Aug 2018)

  New Revision: 64283


    _mjit_compile_pc_and_sp.erb: always move pc
    to fix the wrong line number on #caller_locations or rb_profile_frames.
    Actually we would be able to move it only when method call (of
    caller_locations) or C extension invocation (calling rb_profile_frames)
    can happen.
    This degrades performance. Optcarrot fps becomes...
    before: 71.78976052783555
    after: 67.65429356624131
    I think I can lazily move it and fix the performance issue, even
    improving the performance for the situation catch table exists.
    But let me fix this bug first...

  Modified files:

More information about the ruby-cvs mailing list