BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News JRuby 1.1.4 Released

JRuby 1.1.4 Released

This item in japanese

JRuby 1.1.4 is now available. While it's a maintenance release, it contains host of improvements.

The feature list from the release notes shows a few themes. Java integration changes:
- Massive refactoring of Java integration layer
- 2-20x speed up of most features (calls, construction, arrays)
- Many long-standing Ruby/Java interaction bugs fixed
- Existing features made more consistent, reliable
- Closures can be passed as interface to static methods, constructors
- Java exceptions can be raised/rescued directly from Ruby
We covered JRuby 1.1.4's Java Integration in more detail before. InfoQ's recent interview with Nick Sieger also covered the work on Java Integration.

Ruby 1.9 support:
- Beginning of Ruby 1.9 support (enabled with –1.9 flag)
- Native complex/rational
Native library integration (we covered the port of Rubinius' FFI to JRuby before):
- FFI subsystem for calling C libraries
- win32 API support started
- syslog module from Rubinius is working and included
Performance improvements:
- Additional efficiency, performance work in the interpreter
- Memory leak under –manage repaired
- Thread pooling improved (at least one production user now)
- Massive memory efficiency improvements (a lot less GC)
- Array concurrent-access improvements
- 72 issues resolved since JRuby 1.1.3
The release notes also lists the bugs fixed in this release. Everyone using JRuby with OSGi runtimes might be interested in "OSGify jruby.jar in the release jruby distribution", which adds the proper OSGi metadata to the jruby.jar.

Rate this Article

Adoption
Style

BT