Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Exception java.lang.Error thrown while initializing thread_safe ConcurrentHashMapV8 #2596
We are upgrading to ActiveRecord 4.0.13 which requires ActiveSupport 4.0.13 which requires thread_safe 0.1.0 or later. The Ruboto tooling unpacks the gem files from thread_safe into our app and expands the included jar from the gem into our app. The tooling also adds an initialization script to activate the JRuby extention service:
require 'jruby' public Java::thread_safe.JrubyCacheBackendService.new.basicLoad(JRuby.runtime)
This runs OK, but later we get this exception:
I am not sure where to start debugging this. Our app runs well with ActiveRecord 3.2.x, but with ActiveRecord 5 coming this year, version 3.2 is getting really old, and we need to upgrade.
Any help is appreciated.