【问题标题】:how/where to set --fast mode for jruby when using it within jruby/rack inside tomcat?在tomcat中的jruby/rack中使用jruby时如何/在哪里为jruby设置--fast模式?
【发布时间】:2011-01-21 23:58:13
【问题描述】:

当在 jruby/rack 内的 tomcat 中使用 jruby 时,如何/在哪里为 jruby 设置 --fast 模式?

这个--fast模式在这个页面解释 jruby performance tuning

【问题讨论】:

    标签: jruby jrubyonrails jruby-rack


    【解决方案1】:

    将这些标志传递给 JVM:

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

    但是你用 Tomcat。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-06-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-05
      • 1970-01-01
      • 2011-05-08
      相关资源
      最近更新 更多