public class RubyInstanceConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RubyInstanceConfig.CompileMode |
static interface |
RubyInstanceConfig.LoadServiceCreator |
static class |
RubyInstanceConfig.ProfilingMode |
static class |
RubyInstanceConfig.Verbosity |
Modifier and Type | Field and Description |
---|---|
static boolean |
CAN_SET_ACCESSIBLE |
static boolean |
CEXT_ENABLED
Indicates the global default for whether C extensions are enabled.
|
static int |
CHAINED_COMPILE_LINE_COUNT
The number of lines at which a method, class, or block body is split into
chained methods (to dodge 64k method-size limit in JVM).
|
static int |
CHAINED_COMPILE_LINE_COUNT_DEFAULT
Deprecated.
|
static java.lang.String |
COMPILE_EXCLUDE
Comma-separated list of methods to exclude from JIT compilation.
|
static boolean |
COROUTINE_FIBERS |
static boolean |
DEBUG_LAUNCHING
Turn on debugging of subprocess launching.
|
static boolean |
DEBUG_LOAD_SERVICE
Turn on debugging of the load service (requires and loads).
|
static boolean |
DEBUG_LOAD_TIMINGS
Turn on timings of the load service (requires and loads).
|
static boolean |
DEBUG_PARSER |
static boolean |
DEBUG_SCRIPT_RESOLUTION
Turn on debugging of script resolution with "-S".
|
static boolean |
ERRNO_BACKTRACE |
static boolean |
FAST_MULTIPLE_ASSIGNMENT
Enable fast multiple assignment optimization.
|
static boolean |
FASTEST_COMPILE_ENABLED
Enable compiler "fastest" set of optimizations.
|
static boolean |
FASTOPS_COMPILE_ENABLED
Enable fast operator compiler optimizations.
|
static boolean |
FASTSEND_COMPILE_ENABLED
Enable "fast send" compiler optimizations.
|
static boolean |
FULL_TRACE_ENABLED
Enable tracing of method calls.
|
static boolean |
INTERFACES_USE_PROXY |
static boolean |
INVOKEDYNAMIC_ALL |
static boolean |
INVOKEDYNAMIC_ATTR |
static boolean |
INVOKEDYNAMIC_CACHE |
static boolean |
INVOKEDYNAMIC_CONSTANTS |
static boolean |
INVOKEDYNAMIC_FASTOPS |
static boolean |
INVOKEDYNAMIC_INDIRECT |
static boolean |
INVOKEDYNAMIC_INVOCATION |
static boolean |
INVOKEDYNAMIC_INVOCATION_SWITCHPOINT |
static boolean |
INVOKEDYNAMIC_IVARS |
static boolean |
INVOKEDYNAMIC_JAVA |
static boolean |
INVOKEDYNAMIC_LITERALS |
static boolean |
INVOKEDYNAMIC_SAFE |
static boolean |
IR_COMPILER_DEBUG |
static java.lang.String |
IR_COMPILER_PASSES |
static boolean |
IR_DEBUG |
static java.lang.String |
IR_INLINE_COMPILER_PASSES |
static boolean |
IR_PROFILE |
static int |
JAVA_VERSION
The version to use for generated classes.
|
static boolean |
JIT_CACHE_ENABLED |
static java.lang.String |
JIT_CODE_CACHE |
static boolean |
JIT_LOADING_DEBUG |
static int |
JIT_MAX_METHODS_LIMIT
Deprecated.
|
static int |
JIT_MAX_SIZE_LIMIT
Deprecated.
|
static int |
JIT_THRESHOLD
Deprecated.
|
static boolean |
JUMPS_HAVE_BACKTRACE |
static boolean |
LAZYHANDLES_COMPILE
Enable lazy handles optimizations.
|
static boolean |
LOG_BACKTRACES |
static boolean |
LOG_CALLERS |
static boolean |
LOG_EXCEPTIONS |
static boolean |
LOG_INDY_BINDINGS |
static boolean |
LOG_INDY_CONSTANTS |
static boolean |
LOG_WARNINGS |
static int |
MAX_FAIL_COUNT |
static int |
MAX_POLY_COUNT |
static boolean |
NATIVE_ENABLED
Indicates the global default for whether native code is enabled.
|
static boolean |
NATIVE_NET_PROTOCOL
Enable use of the native Java version of the 'net/protocol' library.
|
static boolean |
nativeEnabled
Deprecated.
|
static boolean |
NO_UNWRAP_PROCESS_STREAMS |
static boolean |
NOGUARDS_COMPILE_ENABLED
Enable compiler "noguards" optimizations.
|
static boolean |
PEEPHOLE_OPTZ
Enable compiler peephole optimizations.
|
static int |
POOL_MAX
Maximum thread pool size (integer, default Integer.MAX_VALUE).
|
static int |
POOL_MIN
Minimum thread pool size (integer, default 0).
|
static int |
POOL_TTL
Thread pool time-to-live in seconds.
|
static boolean |
POOLING_ENABLED
Enable a thread pool.
|
static boolean |
REFLECTED_HANDLES |
static boolean |
REIFY_LOG_ERRORS
Log errors that occur during reification.
|
static boolean |
REIFY_RUBY_CLASSES
Whether to reify (pre-compile and generate) a Java class per Ruby class.
|
static boolean |
THREADLESS_COMPILE_ENABLED
Enable "threadless" compile.
|
static boolean |
UPPER_CASE_PACKAGE_NAME_ALLOWED
In Java integration, allow upper case name for a Java package;
e.g., com.example.UpperCase.Class
|
static boolean |
USE_GENERATED_HANDLES
Whether to use a custom-generated handle for Java methods instead of
reflection.
|
static boolean |
USE_INVOKEDYNAMIC |
Constructor and Description |
---|
RubyInstanceConfig() |
RubyInstanceConfig(RubyInstanceConfig parentConfig) |
Modifier and Type | Method and Description |
---|---|
LoadService |
createLoadService(Ruby runtime) |
java.lang.String |
displayedFileName() |
java.lang.String[] |
getArgv() |
boolean |
getBacktraceColor()
True if colorized backtraces are enabled.
|
boolean |
getBacktraceMask()
Whether to mask .java lines in the Ruby backtrace, as MRI does for C calls.
|
java.lang.String |
getBasicUsageHelp()
Deprecated.
|
ClassCache |
getClassCache() |
CompatVersion |
getCompatVersion() |
RubyInstanceConfig.CompileMode |
getCompileMode() |
java.lang.String |
getCopyrightString()
Deprecated.
|
java.lang.String |
getCurrentDirectory() |
java.util.Map |
getEnvironment() |
java.io.PrintStream |
getError() |
java.util.Set |
getExcludedMethods() |
java.lang.String |
getExtendedHelp()
Deprecated.
|
java.lang.String |
getExternalEncoding() |
java.lang.StringBuffer |
getInlineScript() |
java.lang.String |
getInPlaceBackupExtension() |
java.lang.String |
getInPlaceBackupExtention()
Deprecated.
|
java.io.InputStream |
getInput() |
java.lang.String |
getInputFieldSeparator() |
java.lang.String |
getInternalEncoding() |
boolean |
getJitBackground()
Get whether the JIT compiler will run in a background thread.
|
int |
getJitLogEvery() |
int |
getJitMax() |
int |
getJitMaxSize() |
int |
getJitThreshold() |
java.lang.String |
getJRubyHome() |
KCode |
getKCode() |
java.lang.ClassLoader |
getLoader() |
boolean |
getLoadGemfile()
Whether to load and setup bundler on startup.
|
java.util.List<java.lang.String> |
getLoadPaths() |
RubyInstanceConfig.LoadServiceCreator |
getLoadServiceCreator() |
java.util.Map |
getOptionGlobals() |
java.io.PrintStream |
getOutput() |
boolean |
getParserDebug() |
Profile |
getProfile() |
int |
getProfileMaxMethods()
Get the maximum number of methods to consider when profiling.
|
ProfileOutput |
getProfileOutput() |
RubyInstanceConfig.ProfilingMode |
getProfilingMode() |
java.lang.String |
getPropertyHelp()
Deprecated.
|
java.lang.String |
getRecordSeparator() |
java.util.Collection<java.lang.String> |
getRequiredLibraries() |
int |
getSafeLevel() |
java.lang.String |
getScriptFileName() |
java.io.InputStream |
getScriptSource() |
boolean |
getShouldCheckSyntax() |
boolean |
getShouldPrintProperties() |
boolean |
getShouldPrintUsage() |
boolean |
getShouldRunInterpreter() |
java.lang.String |
getThreadDumpSignal() |
TraceType |
getTraceType() |
java.lang.Boolean |
getVerbose()
Deprecated.
|
RubyInstanceConfig.Verbosity |
getVerbosity() |
java.lang.String |
getVersionString()
Deprecated.
|
boolean |
hasInlineScript() |
static boolean |
hasLoadedNativeExtensions() |
boolean |
hasShebangLine() |
byte[] |
inlineScript() |
boolean |
isArgvGlobalsOn() |
boolean |
isAssumeLoop() |
boolean |
isAssumePrinting() |
boolean |
isBenchmarking() |
boolean |
isCextEnabled()
Get whether C extensions are enabled for this config.
|
boolean |
isDebug() |
boolean |
isDisableGems() |
boolean |
isGlobalRequireLock()
Whether to use a single global lock for requires.
|
boolean |
isHardExit() |
boolean |
isInlineScript() |
boolean |
isJitDumping() |
boolean |
isJitLogging() |
boolean |
isJitLoggingVerbose() |
boolean |
isManagementEnabled() |
boolean |
isNativeEnabled()
Get whether native code is enabled for this config.
|
boolean |
isObjectSpaceEnabled() |
boolean |
isParserDebug() |
boolean |
isProcessLineEnds() |
boolean |
isProfiling() |
boolean |
isProfilingEntireRun() |
protected static boolean |
isRubyShebangLine(java.lang.String line) |
boolean |
isRunRubyInProcess() |
boolean |
isSamplingEnabled() |
boolean |
isShouldRunInterpreter()
Deprecated.
|
boolean |
isShowBytecode() |
boolean |
isShowCopyright() |
boolean |
isShowVersion() |
boolean |
isSiphashEnabled() |
boolean |
isSplit() |
boolean |
isUpdateNativeENVEnabled()
Indicates whether the JVM process' native environment will be updated when ENV[...] is set from Ruby.
|
boolean |
isVerbose() |
boolean |
isxFlag()
Deprecated.
|
boolean |
isXFlag() |
java.util.List<java.lang.String> |
loadPaths()
Deprecated.
|
ASTCompiler |
newCompiler() |
java.lang.String[] |
parseShebangOptions(java.io.InputStream in)
The intent here is to gather up any options that might have
been specified in the shebang line and return them so they can
be merged into the ones specified on the command-line.
|
void |
processArguments(java.lang.String[] arguments) |
java.util.Collection<java.lang.String> |
requiredLibraries()
Deprecated.
|
void |
setArgv(java.lang.String[] argv) |
void |
setArgvGlobalsOn(boolean argvGlobalsOn) |
void |
setAssumeLoop(boolean assumeLoop) |
void |
setAssumePrinting(boolean assumePrinting) |
void |
setBacktraceColor(boolean backtraceColor)
Set to true to enable colorized backtraces.
|
void |
setBacktraceMask(boolean backtraceMask)
Set whether to mask .java lines in the Ruby backtrace.
|
void |
setBenchmarking(boolean benchmarking) |
void |
setCextEnabled(boolean b)
Set whether C extensions are enabled for this config.
|
void |
setClassCache(ClassCache classCache) |
void |
setCompatVersion(CompatVersion compatVersion) |
void |
setCompileMode(RubyInstanceConfig.CompileMode compileMode) |
void |
setCurrentDirectory(java.lang.String newCurrentDirectory) |
void |
setDebug(boolean debug) |
void |
setDisableGems(boolean dg) |
void |
setEnvironment(java.util.Map newEnvironment) |
void |
setError(java.io.PrintStream newError) |
void |
setExternalEncoding(java.lang.String externalEncoding) |
void |
setGlobalRequireLock(boolean globalRequireLock)
Set whether to use a single global lock for requires.
|
void |
setHardExit(boolean hardExit) |
void |
setHasInlineScript(boolean hasInlineScript) |
void |
setHasShebangLine(boolean hasShebangLine) |
void |
setInPlaceBackupExtension(java.lang.String inPlaceBackupExtension) |
void |
setInput(java.io.InputStream newInput) |
void |
setInputFieldSeparator(java.lang.String inputFieldSeparator) |
void |
setInternalEncoding(java.lang.String internalEncoding) |
void |
setJitBackground(boolean jitBackground)
Set whether the JIT compiler should run in a background thread (Executor-based).
|
void |
setJitLogEvery(int jitLogEvery) |
void |
setJitMax(int jitMax) |
void |
setJitMaxSize(int jitMaxSize) |
void |
setJitThreshold(int jitThreshold) |
void |
setJRubyHome(java.lang.String home) |
void |
setKCode(KCode kcode) |
static void |
setLoadedNativeExtensions(boolean loadedNativeExtensions) |
void |
setLoader(java.lang.ClassLoader loader) |
void |
setLoadGemfile(boolean loadGemfile)
Set whether to load and setup bundler on startup.
|
void |
setLoadPaths(java.util.List<java.lang.String> loadPaths) |
void |
setLoadServiceCreator(RubyInstanceConfig.LoadServiceCreator creator) |
void |
setNativeEnabled(boolean b)
Set whether native code is enabled for this config.
|
void |
setObjectSpaceEnabled(boolean newObjectSpaceEnabled) |
void |
setOutput(java.io.PrintStream newOutput) |
void |
setParserDebug(boolean parserDebug) |
void |
setProcessLineEnds(boolean processLineEnds) |
void |
setProfile(Profile newProfile) |
void |
setProfileMaxMethods(int profileMaxMethods)
Set the maximum number of methods to consider when profiling.
|
void |
setProfileOutput(ProfileOutput output) |
void |
setProfilingMode(RubyInstanceConfig.ProfilingMode profilingMode) |
void |
setRecordSeparator(java.lang.String recordSeparator) |
void |
setRunRubyInProcess(boolean flag) |
void |
setSafeLevel(int safeLevel)
Deprecated.
|
void |
setScriptFileName(java.lang.String scriptFileName) |
void |
setShouldCheckSyntax(boolean shouldSetSyntax) |
void |
setShouldPrintProperties(boolean shouldPrintProperties) |
void |
setShouldPrintUsage(boolean shouldPrintUsage) |
void |
setShouldRunInterpreter(boolean shouldRunInterpreter) |
void |
setShowBytecode(boolean showBytecode) |
void |
setShowCopyright(boolean showCopyright) |
void |
setShowVersion(boolean showVersion) |
void |
setSiphashEnabled(boolean newSiphashEnabled) |
void |
setSplit(boolean split) |
void |
setTraceType(TraceType traceType) |
void |
setUpdateNativeENVEnabled(boolean updateNativeENVEnabled)
Ensure that the JVM process' native environment will be updated when ENV is modified .
|
void |
setVerbosity(RubyInstanceConfig.Verbosity verbosity) |
void |
setXFlag(boolean xFlag) |
boolean |
shouldPrintProperties()
Deprecated.
|
boolean |
shouldPrintUsage()
Deprecated.
|
boolean |
shouldRunInterpreter()
Deprecated.
|
void |
tryProcessArgumentsWithRubyopts() |
@Deprecated public static final int JIT_MAX_METHODS_LIMIT
@Deprecated public static final int JIT_MAX_SIZE_LIMIT
@Deprecated public static final int JIT_THRESHOLD
public static final int JAVA_VERSION
@Deprecated public static final int CHAINED_COMPILE_LINE_COUNT_DEFAULT
public static final int CHAINED_COMPILE_LINE_COUNT
public static final boolean PEEPHOLE_OPTZ
public static boolean NOGUARDS_COMPILE_ENABLED
public static boolean FASTEST_COMPILE_ENABLED
public static boolean FASTOPS_COMPILE_ENABLED
public static boolean THREADLESS_COMPILE_ENABLED
public static boolean FASTSEND_COMPILE_ENABLED
public static boolean LAZYHANDLES_COMPILE
public static boolean FAST_MULTIPLE_ASSIGNMENT
public static final boolean POOLING_ENABLED
public static final int POOL_MAX
public static final int POOL_MIN
public static final int POOL_TTL
public static final boolean NATIVE_NET_PROTOCOL
public static boolean FULL_TRACE_ENABLED
public static final java.lang.String COMPILE_EXCLUDE
public static final boolean NATIVE_ENABLED
@Deprecated public static final boolean nativeEnabled
public static final boolean CEXT_ENABLED
public static final boolean REIFY_RUBY_CLASSES
public static final boolean REIFY_LOG_ERRORS
public static final boolean USE_GENERATED_HANDLES
public static final boolean DEBUG_LOAD_SERVICE
public static final boolean DEBUG_LOAD_TIMINGS
public static final boolean DEBUG_LAUNCHING
public static final boolean DEBUG_SCRIPT_RESOLUTION
public static final boolean DEBUG_PARSER
public static final boolean JUMPS_HAVE_BACKTRACE
public static final boolean JIT_CACHE_ENABLED
public static final java.lang.String JIT_CODE_CACHE
public static final boolean REFLECTED_HANDLES
public static final boolean NO_UNWRAP_PROCESS_STREAMS
public static final boolean INTERFACES_USE_PROXY
public static final boolean JIT_LOADING_DEBUG
public static final boolean CAN_SET_ACCESSIBLE
public static final boolean UPPER_CASE_PACKAGE_NAME_ALLOWED
public static final boolean USE_INVOKEDYNAMIC
public static final int MAX_FAIL_COUNT
public static final int MAX_POLY_COUNT
public static final boolean LOG_INDY_BINDINGS
public static final boolean LOG_INDY_CONSTANTS
public static final boolean INVOKEDYNAMIC_ALL
public static final boolean INVOKEDYNAMIC_SAFE
public static final boolean INVOKEDYNAMIC_INVOCATION
public static final boolean INVOKEDYNAMIC_INVOCATION_SWITCHPOINT
public static final boolean INVOKEDYNAMIC_INDIRECT
public static final boolean INVOKEDYNAMIC_JAVA
public static final boolean INVOKEDYNAMIC_ATTR
public static final boolean INVOKEDYNAMIC_FASTOPS
public static final boolean INVOKEDYNAMIC_CACHE
public static final boolean INVOKEDYNAMIC_CONSTANTS
public static final boolean INVOKEDYNAMIC_LITERALS
public static final boolean INVOKEDYNAMIC_IVARS
public static final boolean LOG_EXCEPTIONS
public static final boolean LOG_BACKTRACES
public static final boolean LOG_CALLERS
public static final boolean LOG_WARNINGS
public static final boolean ERRNO_BACKTRACE
public static boolean IR_DEBUG
public static boolean IR_PROFILE
public static boolean IR_COMPILER_DEBUG
public static java.lang.String IR_COMPILER_PASSES
public static java.lang.String IR_INLINE_COMPILER_PASSES
public static final boolean COROUTINE_FIBERS
public RubyInstanceConfig()
public RubyInstanceConfig(RubyInstanceConfig parentConfig)
public LoadService createLoadService(Ruby runtime)
@Deprecated public java.lang.String getBasicUsageHelp()
@Deprecated public java.lang.String getExtendedHelp()
@Deprecated public java.lang.String getPropertyHelp()
@Deprecated public java.lang.String getVersionString()
@Deprecated public java.lang.String getCopyrightString()
public void processArguments(java.lang.String[] arguments)
public void tryProcessArgumentsWithRubyopts()
public java.lang.String[] parseShebangOptions(java.io.InputStream in)
protected static boolean isRubyShebangLine(java.lang.String line)
public boolean isUpdateNativeENVEnabled()
public void setUpdateNativeENVEnabled(boolean updateNativeENVEnabled)
public byte[] inlineScript()
public java.io.InputStream getScriptSource()
public java.lang.String displayedFileName()
public ASTCompiler newCompiler()
public static boolean hasLoadedNativeExtensions()
public static void setLoadedNativeExtensions(boolean loadedNativeExtensions)
public RubyInstanceConfig.LoadServiceCreator getLoadServiceCreator()
public void setLoadServiceCreator(RubyInstanceConfig.LoadServiceCreator creator)
public java.lang.String getJRubyHome()
public void setJRubyHome(java.lang.String home)
public RubyInstanceConfig.CompileMode getCompileMode()
public void setCompileMode(RubyInstanceConfig.CompileMode compileMode)
public boolean isJitLogging()
public boolean isJitDumping()
public boolean isJitLoggingVerbose()
public int getJitLogEvery()
public void setJitLogEvery(int jitLogEvery)
public boolean isSamplingEnabled()
public int getJitThreshold()
public void setJitThreshold(int jitThreshold)
public int getJitMax()
public void setJitMax(int jitMax)
public int getJitMaxSize()
public void setJitMaxSize(int jitMaxSize)
public boolean isRunRubyInProcess()
public void setRunRubyInProcess(boolean flag)
public void setInput(java.io.InputStream newInput)
public java.io.InputStream getInput()
public CompatVersion getCompatVersion()
public void setCompatVersion(CompatVersion compatVersion)
public void setOutput(java.io.PrintStream newOutput)
public java.io.PrintStream getOutput()
public void setError(java.io.PrintStream newError)
public java.io.PrintStream getError()
public void setCurrentDirectory(java.lang.String newCurrentDirectory)
public java.lang.String getCurrentDirectory()
public void setProfile(Profile newProfile)
public Profile getProfile()
public void setObjectSpaceEnabled(boolean newObjectSpaceEnabled)
public boolean isObjectSpaceEnabled()
public void setSiphashEnabled(boolean newSiphashEnabled)
public boolean isSiphashEnabled()
public void setEnvironment(java.util.Map newEnvironment)
public java.util.Map getEnvironment()
public java.lang.ClassLoader getLoader()
public void setLoader(java.lang.ClassLoader loader)
public java.lang.String[] getArgv()
public void setArgv(java.lang.String[] argv)
public java.lang.StringBuffer getInlineScript()
public void setHasInlineScript(boolean hasInlineScript)
public boolean hasInlineScript()
public java.util.Collection<java.lang.String> getRequiredLibraries()
@Deprecated public java.util.Collection<java.lang.String> requiredLibraries()
public java.util.List<java.lang.String> getLoadPaths()
@Deprecated public java.util.List<java.lang.String> loadPaths()
public void setLoadPaths(java.util.List<java.lang.String> loadPaths)
public void setShouldPrintUsage(boolean shouldPrintUsage)
public boolean getShouldPrintUsage()
@Deprecated public boolean shouldPrintUsage()
public void setShouldPrintProperties(boolean shouldPrintProperties)
public boolean getShouldPrintProperties()
@Deprecated public boolean shouldPrintProperties()
public boolean isInlineScript()
public void setScriptFileName(java.lang.String scriptFileName)
public java.lang.String getScriptFileName()
public void setBenchmarking(boolean benchmarking)
public boolean isBenchmarking()
public void setAssumeLoop(boolean assumeLoop)
public boolean isAssumeLoop()
public void setAssumePrinting(boolean assumePrinting)
public boolean isAssumePrinting()
public void setProcessLineEnds(boolean processLineEnds)
public boolean isProcessLineEnds()
public void setSplit(boolean split)
public boolean isSplit()
public RubyInstanceConfig.Verbosity getVerbosity()
public void setVerbosity(RubyInstanceConfig.Verbosity verbosity)
public boolean isVerbose()
@Deprecated public java.lang.Boolean getVerbose()
public boolean isDebug()
public void setDebug(boolean debug)
public boolean isParserDebug()
public boolean isShowVersion()
public boolean isShowBytecode()
public boolean isShowCopyright()
public void setShowVersion(boolean showVersion)
public void setShowBytecode(boolean showBytecode)
public void setShowCopyright(boolean showCopyright)
public void setShouldRunInterpreter(boolean shouldRunInterpreter)
public boolean getShouldRunInterpreter()
@Deprecated public boolean shouldRunInterpreter()
@Deprecated public boolean isShouldRunInterpreter()
public void setShouldCheckSyntax(boolean shouldSetSyntax)
public boolean getShouldCheckSyntax()
public void setInputFieldSeparator(java.lang.String inputFieldSeparator)
public java.lang.String getInputFieldSeparator()
public KCode getKCode()
public void setKCode(KCode kcode)
public void setInternalEncoding(java.lang.String internalEncoding)
public java.lang.String getInternalEncoding()
public void setExternalEncoding(java.lang.String externalEncoding)
public java.lang.String getExternalEncoding()
public void setRecordSeparator(java.lang.String recordSeparator)
public java.lang.String getRecordSeparator()
public int getSafeLevel()
public ClassCache getClassCache()
public void setInPlaceBackupExtension(java.lang.String inPlaceBackupExtension)
public java.lang.String getInPlaceBackupExtension()
public void setClassCache(ClassCache classCache)
public java.util.Map getOptionGlobals()
public boolean isManagementEnabled()
public java.util.Set getExcludedMethods()
public void setParserDebug(boolean parserDebug)
public boolean getParserDebug()
public boolean isArgvGlobalsOn()
public void setArgvGlobalsOn(boolean argvGlobalsOn)
public java.lang.String getThreadDumpSignal()
public boolean isHardExit()
public void setHardExit(boolean hardExit)
public boolean isProfiling()
public boolean isProfilingEntireRun()
public void setProfilingMode(RubyInstanceConfig.ProfilingMode profilingMode)
public RubyInstanceConfig.ProfilingMode getProfilingMode()
public void setProfileOutput(ProfileOutput output)
public ProfileOutput getProfileOutput()
public boolean hasShebangLine()
public void setHasShebangLine(boolean hasShebangLine)
public boolean isDisableGems()
public void setDisableGems(boolean dg)
public TraceType getTraceType()
public void setTraceType(TraceType traceType)
public boolean getBacktraceMask()
public void setBacktraceMask(boolean backtraceMask)
backtraceMask
- true to mask; false otherwisepublic void setNativeEnabled(boolean b)
b
- new value indicating whether native code is enabledpublic boolean isNativeEnabled()
public void setCextEnabled(boolean b)
b
- new value indicating whether native code is enabledpublic boolean isCextEnabled()
public void setXFlag(boolean xFlag)
public boolean isXFlag()
@Deprecated public boolean isxFlag()
public boolean getBacktraceColor()
public void setBacktraceColor(boolean backtraceColor)
public boolean isGlobalRequireLock()
Options.GLOBAL_REQUIRE_LOCK
public void setGlobalRequireLock(boolean globalRequireLock)
public void setJitBackground(boolean jitBackground)
jitBackground
- whether to run the JIT compiler in a background threadpublic boolean getJitBackground()
public void setLoadGemfile(boolean loadGemfile)
public boolean getLoadGemfile()
public void setProfileMaxMethods(int profileMaxMethods)
public int getProfileMaxMethods()
@Deprecated public void setSafeLevel(int safeLevel)
@Deprecated public java.lang.String getInPlaceBackupExtention()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.