Skip to content

Commit

Permalink
Pass -d32 and -client options to Java. This WILL break for some people.
Browse files Browse the repository at this point in the history
  • Loading branch information
danlucraft committed Aug 15, 2010
1 parent bb14345 commit 5c10b1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Expand Up @@ -9,6 +9,7 @@ Enhancements:
* Option to save all tabs before running any Runnable (Delisa Mason)
* Strip trailing spaces on save option (Steven Hancock)
* Search and replace supports backreferences (\1 \2 etc) (Mat Schaffer)
* Uses client, 32bit jvm mode, for twice as fast startup. (Dan Lucraft)

Fixes:

Expand Down
2 changes: 1 addition & 1 deletion lib/redcar/runner.rb
Expand Up @@ -13,7 +13,7 @@ def spin_up
exit 1
end
ENV['RUBYOPT'] = nil # disable other native args
command = "java #{java_args} -Xmx500m -Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k -cp \"#{jruby_complete}\" org.jruby.Main #{"--debug" if debug_mode?} \"#{bin}\" #{cleaned_args} --no-sub-jruby --ignore-stdin"
command = "java -d32 -client #{java_args} -Xmx500m -Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k -cp \"#{jruby_complete}\" org.jruby.Main #{"--debug" if debug_mode?} \"#{bin}\" #{cleaned_args} --no-sub-jruby --ignore-stdin"
puts command
exec(command)
end
Expand Down

0 comments on commit 5c10b1d

Please sign in to comment.