how/where to set --fast mode for jruby when using it within jruby/rack inside tomcat?

512 Views Asked by At

how/where to set --fast mode for jruby when using it within jruby/rack inside tomcat?

This --fast mode is explained in this page jruby performance tuning

1

There are 1 best solutions below

0
On BEST ANSWER

Pass these flags to JVM:

-Djruby.compile.mode=FORCE -Djruby.compile.fastest=true

however you with Tomcat.