Re: [jruby-user] Java 8 and Invoke Dynamic on Heroku

"Joe Kutner" <[email protected]> Wed, 18 Mar 2015 00:30:39 -0700 (PDT)
Newsgroups gmane.comp.lang.jruby.user
Message-ID <1426663838804.2b9aeb72@Nodemailer>
The Ruby buildpack automatically sets the JRUBY_OPTS environment variable with -Xcompile.invokedynamic=false. So invoke dynamic will be off by default. You can confirm this by running `heroku config`.

On Wed, Mar 18, 2015 at 3:14 AM, John Joseph Bachir
<[email protected]> wrote:

> My app on Heroku was previously on cedar with Java 7. I just updated to
> cedar-14 and Java 8.
> One thing I was wary of was big performance problems because of invoke
> dynamic being set to true when JRuby detected Java 8, as described in these
> issues:
> https://github.com/jruby/jruby/issues/1858
> https://github.com/jruby/jruby/issues/1569
> But I haven't seen any problem so far. Maybe for some reason invoke dynamic
> is actually still off for me? Is there a way I check this at runtime in irb?
> John