JRuby can't compile benchmark. Also package renaming

Kirill Shirokov kirill.shirokov at oracle.com
Wed Apr 6 00:36:03 PDT 2011


Hi Charlie,

1. There is a problem with JRuby: starting from b136 of JDK7, ruby refuses to compile benchmark when -Xcompile.invokedynamic=true:

	$ bin/jruby -X+C -Xcompile.invokedynamic=true bench/bench_fib_recursive.rb
	RuntimeError: could not compile and compile mode is 'force': bench/bench_fib_recursive.rb

	$ bin/jruby -X+C bench/bench_fib_recursive.rb
	<normal output of this benchmark>

I can file a bug at bugs.jruby.org.

2. Are there any plans to update JRuby to use java.lang.invoke instead of java.dyn (it is a simple change, right?).

Best regards,
Kirill





More information about the mlvm-dev mailing list