Upcoming Improvements to JRuby 9000
summary
JRuby 9000 now tracks Ruby 2.2 and ships a new intermediate representation that enables real compiler passes like dead code elimination, constant propagation and block compilation so blocks and simple defined_method cases now compile and run near method speed. Exception-heavy paths get exception backtrace elision, restoring CSV performance by ~100x to practical levels. Prototype inlining and numeric specialization yield up to ~30x for numeric kernels, a low-overhead profiler drives hot-site optimizations, and future work targets Project Panama FFI and AOT startup improvements.
AI-written summary · about
chapters (10)
- 0:00Introduction to JRuby
- 1:50What is JRuby 9000
- 3:39New runtime IR overview
- 7:36Shipping optimizations in 904
- 13:46Method inlining plans
- 16:14Numeric specialization
- 18:20Profiling for optimizations
- 21:53Collaboration with OpenJDK
- 25:08Startup time challenges
- 28:45Future of JRuby 2.3








