| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private BacktraceElement[] | |
| private int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static final int | CALL_POLL_COUNT
The number of calls after which to do a thread event poll |
| public static final int | |
| public int | |
| public int | |
| private int | |
| private CatchThrow[] | |
| private int | |
| private RubyDateFormatter | |
| private static final CatchThrow[] | |
| private Encoding[] | |
| private boolean | |
| public boolean | |
| public final RubyBoolean | |
| private WeakReference | |
| private int | |
| private Frame[] | |
| private static final int | |
| private static final int | |
| private boolean | |
| private boolean | |
| pack-priv CallType | |
| pack-priv IRubyObject | |
| pack-priv Visibility | |
| private static final Logger | |
| private RubyMatchData | |
| public final IRubyObject | |
| private static final WeakReference | |
| private RubyModule | |
| private ProfileCollection | |
| private Set | |
| private ThreadFiber | |
| public final Ruby | |
| public final RuntimeCache | |
| private Throwable | |
| private int | |
| private DynamicScope[] | |
| public transient SecureRandom | secureRandom
Deprecated
Use This fields is no longer initialized, is null by default!
getSecureRandom() instead.
|
| public final JavaSites | |
| private Map | |
| private RubyThread | |
| public final TraceEventManager | |
| private TraceEventManager. | |
| public final RubyBoolean | |
| private static boolean | |
| private static boolean | |
| public static final StackWalker | |
| public static final StackWalker |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| public void | |
| public void | |
| public static void | |
| public IRubyObject | |
| public void | clearCallInfo()
Deprecated
use the trivially-inlinable static version
Clear call info state (set to 0). |
| public static void | |
| public void | |
| public void | |
| public IRubyObject | |
| public IRubyObject | Returns: an Array with the backtraceCreate an Array with backtrace information for Kernel#caller |
| public IRubyObject | Returns: an Array with the backtrace locationsthe level at which the trace should start level, Integer the length of the trace length, Stream<StackWalker.Create an array containing Thread::Backtrace::Location objects for the requested caller trace level and length. |
| public static String | |
| public Binding | |
| public Binding | Returns: the current binding, using the specified selfthe self object to use self)Return a binding representing the current call's state but with a specified self |
| public Binding | Returns: the current binding using the specified self and visibilitythe self object to use self, Visibility the visibility to use visibility)Return a binding representing the current call's state but with the specified visibility and self. |
| public Binding | Returns: the current binding using the specified self and scopethe self object to use self, DynamicScope the scope to use scope)Return a binding representing the current call's state but with the specified scope and self. |
| public Binding | Returns: the current binding using the specified self, scope, and visibilitythe self object to use self, Visibility the visibility to use visibility, DynamicScope the scope to use scope)Return a binding representing the current call's state but with the specified visibility, scope, and self. |
| public void | eachCallerLocation(Stream<StackWalker.
the stream of StackFrame objects from JVM stackStream,the consumer of RubyThread.Location objects consumerLike |
| private void | eachPartialTrace(Stream<StackWalker.
|
| public Encoding[] | |
| public void | |
| public void | |
| private static void | |
| private void | |
| private void | |
| private void | |
| private static BacktraceElement[] | |
| private Frame[] | |
| protected void | finalize()
Overrides java. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| public CatchThrow | Returns: The continuation associated with this tagThe interned string to search for tag)Find the active Continuation for the given tag. |
| public IRubyObject | |
| public Stream | |
| public final Stream | |
| public String | Returns: the name under which the current method was calledThe name under which the current method was called, if called via an alias. |
| public String | Returns: a representation of the current method's name and the name it was called underA string representing the name of the current method and the name under which it was called. |
| public IRubyObject | getConstant(String internedName)
Deprecated
Used by the evaluator and the compiler to look up a constant by name |
| public Frame | |
| public DynamicScope | |
| public StaticScope | |
| public int | |
| public Visibility | |
| public IRubyObject | |
| public ThreadFiber | |
| public RubyThread | |
| public String | |
| public String | |
| public Block | |
| public RubyModule | |
| public String | Returns: the current method's nameThe currently-running method's original name, used for stack traces, super calls, and __method__, and trace hooks. |
| public IRubyObject | |
| public CallType | |
| public IRubyObject | |
| public IRubyObject | |
| public Visibility | |
| public int | |
| public RubyMatchData | Returns: the current thread-local MatchData, or null if noneGet the thread-local MatchData specific to this context. |
| public IRubyObject | Returns: the current thread-local MatchData, or nil if noneGet the thread-local MatchData specific to this context or nil if none. |
| public Frame | |
| private RubyStackTraceElement[] | |
| public Frame | |
| public RubyModule | |
| public ProfileCollection | Returns: the thread's profile collectionGet the profile collection for this thread (ThreadContext). |
| public Set | |
| public RubyDateFormatter | |
| public final Ruby | Returns: the runtime associated with this contextRetrieve the runtime associated with this context. |
| public Throwable | |
| public SecureRandom | |
| public RubyStackTraceElement | Returns: the nearest stack trace elementReturn a single RubyStackTraceElement representing the nearest Ruby stack trace element. |
| public RubyStackTraceElement | |
| public RubyStackTraceElement | |
| public RubyThread | |
| private RubyStackTraceElement[] | |
| public boolean | |
| public static boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public static ThreadContext | |
| public void | |
| private void | |
| public static void | |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Frame | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | preMethodFrameAndDummyScope(RubyModule clazz, String name, IRubyObject self, Block block, StaticScope staticScope)
|
| public void | preMethodFrameAndScope(RubyModule clazz, String name, IRubyObject self, Block block, StaticScope staticScope)
|
| public void | |
| public void | preMethodFrameOnly(RubyModule clazz, String name, IRubyObject self, Visibility visiblity, Block block)
|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Frame | |
| public Frame | |
| public Frame | |
| public void | |
| public int | |
| public int | |
| public int | |
| private void | |
| public static void | |
| private void | |
| private void | |
| public void | |
| public void | |
| private void | |
| public void | |
| private Frame | |
| public void | |
| private Frame | |
| public DynamicScope | |
| public void | |
| public void | renderCurrentBacktrace(StringBuilder
the StringBuilder to which to render the backtrace sb)Render the current backtrace as a string to the given StringBuilder. |
| public int | Returns: the old call info
Deprecated
use the trivially-inlinable static version
Reset call info state and return the value of call info right before it is reset. |
| public static int | Returns: the old call infoReset call info state and return the value of call info right before it is reset. |
| private static int | |
| public <T> IRubyObject | safeRecurse(ThreadContext.
|
| private Map | |
| private <T> IRubyObject | safeRecurseInner(ThreadContext.
|
| private <T> IRubyObject | safeRecurseOutermost(ThreadContext.
|
| public boolean | Returns: true if it exists. otherwise false.the scope to look for scope)Check if a scope is present on the call stack. |
| public IRubyObject | Returns: the value passed inthe value to set match)Set the $~ (backref) "global" to the given RubyMatchData value. |
| public IRubyObject | |
| public void | |
| public IRubyObject | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public IRubyObject | Returns: the value passed inthe value to set last)Set the $_ (lastlne) "global" to the given value. |
| public void | |
| public void | setLocalMatch(RubyMatchData
the new thread-local MatchData or null localMatch)Set the thread-local MatchData specific to this context. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public IRubyObject | |
| public void | setWithinTrace(boolean
true is so isWithinTrace)Set whether we are actively tracing or not on this thread. |
| public void | |
| public void | |
| public void | |
| public void | |
| public IRubyObject | Returns: The current match, or nilUpdate the current frame's backref using the current thread-local match, or clear it if that match is null. |
| public void | useRecursionGuardsFrom(ThreadContext context)
Fibers must use the same recursion guards as their parent thread. |