yjit icon indicating copy to clipboard operation
yjit copied to clipboard

Optimizing JIT compiler built inside CRuby

Results 8 yjit issues
Sort by recently updated
recently updated
newest added

At the moment, we discard type information at every call, whether it be a call to a C function or another iseq, because it could be that a bindings environment...

enhancement

At the moment, we generated code in a linear array of executable memory until we run out of space. In practice, this isn't a problem for most applications, because we...

Here is a review of the argument setup details in `gen_send_iseq()` cause I think there is room for simplification, both in terms of generator code and generated code. It's not...

Before we can proceed with the actual GC part of the code GC, we need to refactor our codegen so that code is allocated and generated into small regions (code...

This is also used very often in SFR, because of `case...when` patterns. It seems to be used most often with arrays and hashes, so I'm wondering if we could peek...

help wanted

This is a bug found by @XrXr with repro shown below: ``` # Repro for buggy invalidation. Run with --yjit-call-threshold=1 and compare with interpreter only mode # The gist of...

bug

This is an idea to improve how we handle stack addresses to make codegen simpler to write and possibly improve performance. Currently, `REG_SP` always has the same value of `reg_cfp->sp`,...

The current `opt_setinlinecache` implementation invalidates the block for the corresponding `opt_getinlinecache`, and one could make `opt_setinlinecache` run by setting any constant. Apps that use `Module#const_set` at runtime will leak memory...

bug