- compile.mode
-
Set compilation mode. JIT = at runtime; FORCE = before execution.
Options:
jruby.JIT
jruby.FORCE
jruby.OFF
jruby.OFFIR
- compile.dump
-
Dump to console all bytecode generated at runtime.
Options:
jruby.true
jruby.false
- compile.threadless
-
(EXPERIMENTAL) Turn on compilation without polling for "unsafe" thread events.
Options:
jruby.true
jruby.false
- compile.fastops
-
Turn on fast operators for Fixnum and Float.
Options:
jruby.true
jruby.false
- compile.chainsize
-
Set the number of lines at which compiled bodies are "chained".
Options:
jruby.Integer
- compile.lazyHandles
-
Generate method bindings (handles) for compiled methods lazily.
Options:
jruby.true
jruby.false
- compile.peephole
-
Enable or disable peephole optimizations.
Options:
jruby.true
jruby.false
- compile.noguards
-
Compile calls without guards, for experimentation.
Options:
jruby.true
jruby.false
- compile.fastest
-
Compile with all "mostly harmless" compiler optimizations.
Options:
jruby.true
jruby.false
- compile.fastsend
-
Compile obj.__send__(, ...) as obj.(...).
Options:
jruby.true
jruby.false
- compile.fastMasgn
-
Return true from multiple assignment instead of a new array.
Options:
jruby.true
jruby.false
- compile.invokedynamic
-
Use invokedynamic for optimizing Ruby code
Options:
jruby.true
jruby.false
- invokedynamic.maxfail
-
Maximum call site failures after which to inline cache.
Options:
jruby.Integer
- invokedynamic.maxpoly
-
Maximum polymorphism of PIC binding.
Options:
jruby.Integer
- invokedynamic.log.binding
-
Log binding of invokedynamic call sites.
Options:
jruby.true
jruby.false
- invokedynamic.log.constants
-
Log invokedynamic-based constant lookups.
Options:
jruby.true
jruby.false
- invokedynamic.all
-
Enable all possible uses of invokedynamic.
Options:
jruby.true
jruby.false
- invokedynamic.safe
-
Enable all safe (but maybe not fast) uses of invokedynamic.
Options:
jruby.true
jruby.false
- invokedynamic.invocation
-
Enable invokedynamic for method invocations.
Options:
jruby.true
jruby.false
- invokedynamic.invocation.switchpoint
-
Use SwitchPoint for class modification guards on invocations.
Options:
jruby.true
jruby.false
- invokedynamic.invocation.indirect
-
Also bind indirect method invokers to invokedynamic.
Options:
jruby.true
jruby.false
- invokedynamic.invocation.java
-
Bind Ruby to Java invocations with invokedynamic.
Options:
jruby.true
jruby.false
- invokedynamic.invocation.attr
-
Bind Ruby attribue invocations directly to invokedynamic.
Options:
jruby.true
jruby.false
- invokedynamic.invocation.fastops
-
Bind Fixnum and Float math using optimized logic.
Options:
jruby.true
jruby.false
- invokedynamic.cache
-
Use invokedynamic to load cached values like literals and constants.
Options:
jruby.true
jruby.false
- invokedynamic.cache.constants
-
Use invokedynamic to load constants.
Options:
jruby.true
jruby.false
- invokedynamic.cache.literals
-
Use invokedynamic to load literals.
Options:
jruby.true
jruby.false
- invokedynamic.cache.ivars
-
Use invokedynamic to get/set instance variables.
Options:
jruby.true
jruby.false
- invokedynamic.class.values
-
Use ClassValue to store class-specific data.
Options:
jruby.true
jruby.false
- jit.threshold
-
Set the JIT threshold to the specified method invocation count.
Options:
jruby.Integer
- jit.max
-
Set the max count of active methods eligible for JIT-compilation.
Options:
jruby.Integer
- jit.maxsize
-
Set the maximum full-class byte size allowed for jitted methods.
Options:
jruby.Integer
- jit.logging
-
Enable JIT logging (reports successful compilation).
Options:
jruby.true
jruby.false
- jit.logging.verbose
-
Enable verbose JIT logging (reports failed compilation).
Options:
jruby.true
jruby.false
- jit.dumping
-
Enable stdout dumping of JITed bytecode.
Options:
jruby.true
jruby.false
- jit.logEvery
-
Log a message every n methods JIT compiled.
Options:
jruby.Integer
- jit.exclude
-
Exclude methods from JIT. Comma delimited.
Options:
jruby.ClsOrMod
jruby.ClsOrMod::method_name
jruby.-::method_name
- jit.cache
-
Cache jitted method in-memory bodies across runtimes and loads.
Options:
jruby.true
jruby.false
- jit.codeCache
-
Save jitted methods to
as they're compiled, for future runs.
Options:
jruby.dir
- jit.debug
-
Log loading of JITed bytecode.
Options:
jruby.true
jruby.false
- jit.background
-
Run the JIT compiler in a background thread.
Options:
jruby.true
jruby.false
- ir.debug
-
Debug generation of JRuby IR.
Options:
jruby.true
jruby.false
- ir.profile
-
[EXPT]: Profile IR code during interpretation.
Options:
jruby.true
jruby.false
- ir.compiler.debug
-
Debug compilation of JRuby IR.
Options:
jruby.true
jruby.false
- ir.passes
-
Specify comma delimeted list of passes to run.
Options:
jruby.String
- ir.inline_passes
-
Specify comma delimeted list of passes to run after inlining a method.
Options:
jruby.String
- native.enabled
-
Enable/disable native code, including POSIX features and C exts.
Options:
jruby.true
jruby.false
- native.verbose
-
Enable verbose logging of native extension loading.
Options:
jruby.true
jruby.false
- cext.enabled
-
Enable or disable C extension support.
Options:
jruby.true
jruby.false
- ffi.compile.dump
-
Dump bytecode-generated FFI stubs to console.
Options:
jruby.true
jruby.false
- ffi.compile.threshold
-
Number of FFI invocations before generating a bytecode stub.
Options:
jruby.Integer
- ffi.compile.invokedynamic
-
Use invokedynamic to bind FFI invocations.
Options:
jruby.true
jruby.false
- thread.pool.enabled
-
Enable reuse of native threads via a thread pool.
Options:
jruby.true
jruby.false
- thread.pool.min
-
The minimum number of threads to keep alive in the pool.
Options:
jruby.Integer
- thread.pool.max
-
The maximum number of threads to allow in the pool.
Options:
jruby.Integer
- thread.pool.ttl
-
The maximum number of seconds to keep alive an idle thread.
Options:
jruby.Integer
- compat.version
-
Specify the major Ruby version to be compatible with.
Options:
jruby.1.8
jruby.1.9
jruby.2.0
- objectspace.enabled
-
Enable or disable ObjectSpace.each_object.
Options:
jruby.true
jruby.false
- siphash.enabled
-
Enable or disable SipHash for String hash function.
Options:
jruby.true
jruby.false
- launch.inproc
-
Set in-process launching of e.g. system('ruby ...').
Options:
jruby.true
jruby.false
- bytecode.version
-
Specify the major Java bytecode version.
Options:
jruby.1.5
jruby.1.6
jruby.1.7
- management.enabled
-
Set whether JMX management is enabled.
Options:
jruby.true
jruby.false
- jump.backtrace
-
Make non-local flow jumps generate backtraces.
Options:
jruby.true
jruby.false
- process.noUnwrap
-
Do not unwrap process streams (issue on some recent JVMs).
Options:
jruby.true
jruby.false
- reify.classes
-
Before instantiation, stand up a real Java class for ever Ruby class.
Options:
jruby.true
jruby.false
- reify.logErrors
-
Log errors during reification (reify.classes=true).
Options:
jruby.true
jruby.false
- reflected.handles
-
Use reflection for binding methods, not generated bytecode.
Options:
jruby.true
jruby.false
- backtrace.color
-
Enable colorized backtraces.
Options:
jruby.true
jruby.false
- backtrace.style
-
Set the style of exception backtraces.
Options:
jruby.normal
jruby.raw
jruby.full
jruby.mri
- backtrace.mask
-
Mask .java lines in Ruby backtraces.
Options:
jruby.true
jruby.false
- thread.dump.signal
-
Set the signal used for dumping thread stacks.
Options:
jruby.USR1
jruby.USR2
jruby.etc
- native.net.protocol
-
Use native impls for parts of net/protocol.
Options:
jruby.true
jruby.false
- fiber.coroutines
-
Use JVM coroutines for Fiber.
Options:
jruby.true
jruby.false
- global.require.lock
-
Use a single global lock for requires.
Options:
jruby.true
jruby.false
- native.exec
-
Do a true process-obliterating native exec for Kernel#exec.
Options:
jruby.true
jruby.false
- debug.loadService
-
Log require/load file searches.
Options:
jruby.true
jruby.false
- debug.loadService.timing
-
Log require/load parse+evaluate times.
Options:
jruby.true
jruby.false
- debug.launch
-
Log externally-launched processes.
Options:
jruby.true
jruby.false
- debug.fullTrace
-
Set whether full traces are enabled (c-call/c-return).
Options:
jruby.true
jruby.false
- debug.scriptResolution
-
Print which script is executed by '-S' flag.
Options:
jruby.true
jruby.false
- debug.parser
-
disables JRuby impl script loads and prints parse exceptions
Options:
jruby.true
jruby.false
- errno.backtrace
-
Generate backtraces for heavily-used Errno exceptions (EAGAIN).
Options:
jruby.true
jruby.false
- log.exceptions
-
Log every time an exception is constructed.
Options:
jruby.true
jruby.false
- log.backtraces
-
Log every time an exception backtrace is generated.
Options:
jruby.true
jruby.false
- log.callers
-
Log every time a Kernel#caller backtrace is generated.
Options:
jruby.true
jruby.false
- log.warnings
-
Log every time a built-in warning backtrace is generated.
Options:
jruby.true
jruby.false
- logger.class
-
Use specified class for logging.
Options:
jruby.class name
- ji.setAccessible
-
Try to set inaccessible Java methods to be accessible.
Options:
jruby.true
jruby.false
- ji.logCanSetAccessible
-
Log whether setAccessible is working.
Options:
jruby.true
jruby.false
- ji.upper.case.package.name.allowed
-
Allow Capitalized Java pacakge names.
Options:
jruby.true
jruby.false
- interfaces.useProxy
-
Use java.lang.reflect.Proxy for interface impl.
Options:
jruby.true
jruby.false
- java.handles
-
Use generated handles instead of reflection for calling Java.
Options:
jruby.true
jruby.false
- ji.newStyleExtension
-
Extend Java classes without using a proxy object.
Options:
jruby.true
jruby.false
- ji.objectProxyCache
-
Cache Java object wrappers between calls.
Options:
jruby.true
jruby.false
- ji.proxyClassFactory
-
Allow external envs to replace JI proxy class factory
Options:
jruby.String
- profile.max.methods
-
Maximum number of methods to consider for profiling.
Options:
jruby.Integer