Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JRuby 0.9.9, JRuby 1.0.0RC1, JRuby 1.0.0RC2
-
Fix Version/s: JRuby 1.1RC3
-
Component/s: Extensions
-
Labels:None
-
Number of attachments :
Description
We should create a single -X or -XX: extension command-line argument, and map all JRuby system properties into it. This will make it easier to provide well-documented command-line arguments that access the various hooks without having to launch with JAVA_OPTS etc. set.
Current candidates:
- -C
- -O/jruby.objectspace.enabled
- jruby.jit.enabled
- jruby.jit.threshold
- jruby.jit.logging
- jruby.jit.safe
- jruby.thread.pooling
- jruby.reflection
- jruby.dump_invocations
- jruby.script
- jruby.shell
- jruby.home
- jruby.lib
- jruby.base (what is this used for, and can it be removed?)
- jruby.env.method
- --command (should also consolidate this with -S)
I want this in JRuby 1.0, along with a working -J that can pass flags directly to the underlying JVM. Marking as a 1.0 blocker.