Skip to content

Commit

Permalink
Revert "[Truffle] When debugging a benchmark, exceptions should be fa…
Browse files Browse the repository at this point in the history
…tal, not thrown."

This reverts commit 28f9e82.
  • Loading branch information
chrisseaton committed Apr 27, 2015
1 parent f625f07 commit 8b974d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/jt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def bench(command, *args)
bench_args = ["-I#{bench_dir}/lib", "#{bench_dir}/bin/bench"]
case command
when 'debug'
env_vars = env_vars.merge({'JRUBY_OPTS' => '-J-G:+TraceTruffleCompilation -J-G:+DumpOnError -J-G:+TruffleCompilationExceptionsAreFatal'})
env_vars = env_vars.merge({'JRUBY_OPTS' => '-J-G:+TraceTruffleCompilation -J-G:+DumpOnError -J-G:+TruffleCompilationExceptionsAreThrown'})
bench_args += ['score', 'jruby-9000-dev-truffle-graal', '--show-commands', '--show-samples']
raise 'specify a single benchmark for run - eg classic-fannkuch-redux' if args.size != 1
when 'reference'
Expand Down

0 comments on commit 8b974d3

Please sign in to comment.