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: rubinius/rubinius
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b0825d87409b
Choose a base ref
...
head repository: rubinius/rubinius
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a7ace49c72d2
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Feb 13, 2015

  1. Moved JIT OnStack out of loop.

    brixen committed Feb 13, 2015
    Copy the full SHA
    b01baf1 View commit details
  2. Copy the full SHA
    a7ace49 View commit details
Showing with 3 additions and 2 deletions.
  1. +1 −0 vm/internal_threads.cpp
  2. +2 −2 vm/llvm/state.cpp
1 change: 1 addition & 0 deletions vm/internal_threads.cpp
Original file line number Diff line number Diff line change
@@ -96,6 +96,7 @@ namespace rubinius {
}

void InternalThread::after_fork_child(STATE) {
vm_ = state->shared().new_vm();
start(state);
}

4 changes: 2 additions & 2 deletions vm/llvm/state.cpp
Original file line number Diff line number Diff line change
@@ -212,6 +212,8 @@ namespace rubinius {

void LLVMState::run(STATE) {
GCTokenImpl gct;
JITCompileRequest* compile_request = nil<JITCompileRequest>();
OnStack<1> os(state, compile_request);

metrics().init(metrics::eJITMetrics);

@@ -220,8 +222,6 @@ namespace rubinius {
bool show_machine_code_ = jit_dump_code() & cMachineCode;

while(!thread_exit_) {
JITCompileRequest* compile_request = nil<JITCompileRequest>();
OnStack<1> cr(state, compile_request);

current_compiler_ = 0;