Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
base: 6f40ed6a33a7
Choose a base ref
...
head repository: jruby/jruby
compare: e5cf31f631cc
Choose a head ref
  • 3 commits
  • 4 files changed
  • 1 contributor

Commits on Sep 25, 2014

  1. Copy the full SHA
    10375b0 View commit details
    Browse the repository at this point in the history
  2. Try JIT twice.

    Because the JIT runs additional passes (and may run more in the
    future) and because we would like to avoid the interpreter running
    code that has passed through those passes, we do a two-pass JIT
    here. The first pass tries to compile the code without running the
    JIT passes, ensuring it will complete successfully and the code
    size will not be too large to load (or so large it never
    optimizes in JVM). The second pass then runs our JIT passes and
    repeats the compilation, presumably with a successful result.
    
    This should be replaced with cloning the interpreted scope before
    doing JIT, for concurrency and overhead reasons (double-JIT cost).
    headius committed Sep 25, 2014
    Copy the full SHA
    82d2b91 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e5cf31f View commit details
    Browse the repository at this point in the history