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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 88881b7dae0e
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ccc74ba7d9e2
Choose a head ref
  • 3 commits
  • 4 files changed
  • 1 contributor

Commits on Feb 23, 2016

  1. Copy the full SHA
    c6da320 View commit details
  2. Not actually used by JIT.

    headius committed Feb 23, 2016
    Copy the full SHA
    2ab1b88 View commit details
  3. Copy the full SHA
    ccc74ba View commit details
Original file line number Diff line number Diff line change
@@ -1764,7 +1764,6 @@ public static Block prepareBlock(ThreadContext context, IRubyObject self, Dynami
return block;
}

@JIT
public static RubyString newFrozenString(ThreadContext context, ByteList bytelist, int coderange, String file, int line) {
Ruby runtime = context.runtime;

Original file line number Diff line number Diff line change
@@ -425,7 +425,6 @@ private void processArgument() {
disallowedInRubyOpts(argument);
Options.DEBUG_FULLTRACE.force("true");
RubyInstanceConfig.FULL_TRACE_ENABLED = true;
config.setCompileMode(RubyInstanceConfig.CompileMode.OFF);
config.setDebuggingFrozenStringLiteral(true);
break FOR;
} else if (argument.startsWith("--debug=")) {
8 changes: 4 additions & 4 deletions rakelib/test.rake
Original file line number Diff line number Diff line change
@@ -78,22 +78,22 @@ namespace :test do
namespace :mri do
mri_test_files = File.readlines('test/mri.index').grep(/^[^#]\w+/).map(&:chomp).join(' ')
task :int do
ENV['JRUBY_OPTS'] = ENV['JRUBY_OPTS'].to_s + ' -Xbacktrace.style=mri -X-C'
ENV['JRUBY_OPTS'] = ENV['JRUBY_OPTS'].to_s + ' -Xbacktrace.style=mri --debug -X-C'
ruby "-r ./test/mri_test_env.rb test/mri/runner.rb #{ADDITIONAL_TEST_OPTIONS} -q -- #{mri_test_files}"
end

task :fullint do
ENV['JRUBY_OPTS'] = ENV['JRUBY_OPTS'].to_s + ' -Xbacktrace.style=mri -X-C -Xjit.threshold=0 -Xjit.background=false'
ENV['JRUBY_OPTS'] = ENV['JRUBY_OPTS'].to_s + ' -Xbacktrace.style=mri --debug -X-C -Xjit.threshold=0 -Xjit.background=false'
ruby "-r ./test/mri_test_env.rb test/mri/runner.rb #{ADDITIONAL_TEST_OPTIONS} -q -- #{mri_test_files}"
end

task :jit do
ENV['JRUBY_OPTS'] = ENV['JRUBY_OPTS'].to_s + ' -Xbacktrace.style=mri -J-XX:MaxPermSize=512M -Xjit.threshold=0 -Xjit.background=false'
ENV['JRUBY_OPTS'] = ENV['JRUBY_OPTS'].to_s + ' -Xbacktrace.style=mri --debug -J-XX:MaxPermSize=512M -Xjit.threshold=0 -Xjit.background=false'
ruby "-r ./test/mri_test_env.rb test/mri/runner.rb #{ADDITIONAL_TEST_OPTIONS} -q -- #{mri_test_files}"
end

task :aot do
ENV['JRUBY_OPTS'] = ENV['JRUBY_OPTS'].to_s + ' -Xbacktrace.style=mri -J-XX:MaxPermSize=512M -X+C -Xjit.background=false'
ENV['JRUBY_OPTS'] = ENV['JRUBY_OPTS'].to_s + ' -Xbacktrace.style=mri --debug -J-XX:MaxPermSize=512M -X+C -Xjit.background=false'
ruby "-r ./test/mri_test_env.rb test/mri/runner.rb #{ADDITIONAL_TEST_OPTIONS} -q -- #{mri_test_files}"
end

1 change: 1 addition & 0 deletions test/mri/excludes/TestClass.rb
Original file line number Diff line number Diff line change
@@ -7,4 +7,5 @@
exclude :test_redefine_private_class, "needs investigation"
exclude :test_redefinition_mismatch, "parser issue with Japanese identifiers (#3679)"
exclude :test_singleton_class_message, "error says object instead of Class"
exclude :test_singleton_class_should_has_own_namespace, "new behavior for 2.3 (#3693)"
exclude :test_uninitialized, "needs investigation"