| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final MethodHandle | |
| public static final MethodHandle | |
| private final MutableCallSite | |
| private final MutableCallSite | |
| private final TraceEventManager. | |
| private static final EventHook[] | |
| private volatile EventHook[] | |
| private boolean | |
| private static final EnumSet | |
| private static final MethodHandles. | |
| private final Ruby | |
| public static final MethodHandle | |
| public static final MethodHandle |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized void | |
| public void | callEventHooks(ThreadContext context, RubyEvent event, String file, int line, String name, IRubyObject type)
|
| private void | |
| private void | |
| private void | |
| public MutableCallSite | |
| public MutableCallSite | |
| public boolean | |
| public void | removeAllCallEventHooksFor(ThreadContext
the context of the ruby thread we are interested in. context)Remove all event hooks which are associated with a particular thread. |
| public synchronized void | |
| public void | |
| public void |
| B_TRACE_OFF | back to summary |
|---|---|
| public static final MethodHandle B_TRACE_OFF | |
| B_TRACE_ON | back to summary |
|---|---|
| public static final MethodHandle B_TRACE_ON | |
| bcallTrace | back to summary |
|---|---|
| private final MutableCallSite bcallTrace | |
| callTrace | back to summary |
|---|---|
| private final MutableCallSite callTrace | |
| callTraceFuncHook | back to summary |
|---|---|
| private final TraceEventManager. | |
| EMPTY_HOOKS | back to summary |
|---|---|
| private static final EventHook[] EMPTY_HOOKS | |
| eventHooks | back to summary |
|---|---|
| private volatile EventHook[] eventHooks | |
| hasEventHooks | back to summary |
|---|---|
| private boolean hasEventHooks | |
| interest | back to summary |
|---|---|
| private static final EnumSet<RubyEvent> interest | |
| LOOKUP | back to summary |
|---|---|
| private static final MethodHandles. | |
| runtime | back to summary |
|---|---|
| private final Ruby runtime | |
| TRACE_OFF | back to summary |
|---|---|
| public static final MethodHandle TRACE_OFF | |
| TRACE_ON | back to summary |
|---|---|
| public static final MethodHandle TRACE_ON | |
| TraceEventManager | back to summary |
|---|---|
| public TraceEventManager(Ruby runtime) | |
| addEventHook | back to summary |
|---|---|
| public synchronized void addEventHook(EventHook hook)
Deprecated since 10.0.
| |
| addEventHook | back to summary |
|---|---|
| public synchronized void addEventHook(ThreadContext context, EventHook hook) | |
| callEventHooks | back to summary |
|---|---|
| public void callEventHooks(ThreadContext context, RubyEvent event, String file, int line, String name, IRubyObject type) | |
| disableTraceSites | back to summary |
|---|---|
| private void disableTraceSites(EventHook hook) | |
| disableTraceSites | back to summary |
|---|---|
| private void disableTraceSites() | |
| enableTraceSites | back to summary |
|---|---|
| private void enableTraceSites(EventHook hook) | |
| getBCallBReturnSite | back to summary |
|---|---|
| public MutableCallSite getBCallBReturnSite() | |
| getCallReturnSite | back to summary |
|---|---|
| public MutableCallSite getCallReturnSite() | |
| hasEventHooks | back to summary |
|---|---|
| public boolean hasEventHooks() | |
| removeAllCallEventHooksFor | back to summary |
|---|---|
| public void removeAllCallEventHooksFor(ThreadContext context) Remove all event hooks which are associated with a particular thread.
| |
| removeEventHook | back to summary |
|---|---|
| public synchronized void removeEventHook(EventHook hook) | |
| setTraceFunction | back to summary |
|---|---|
| public void setTraceFunction(RubyProc traceFunction) | |
| setTraceFunction | back to summary |
|---|---|
| public void setTraceFunction(TraceEventManager. | |
| Modifier and Type | Field and Description |
|---|---|
| private final ThreadContext | |
| private RubyProc |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public void | eventHandler(ThreadContext context, String eventName, String file, int line, String name, IRubyObject type)
Implements abstract org.
|
| public EnumSet | |
| public ThreadContext | |
| public int | |
| public boolean | isInterestedInEvent(RubyEvent event)
Implements abstract org.
|
| public void |
| thread | back to summary |
|---|---|
| private final ThreadContext thread | |
| traceFunc | back to summary |
|---|---|
| private RubyProc traceFunc | |
| CallTraceFuncHook | back to summary |
|---|---|
| public CallTraceFuncHook(ThreadContext context) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| eventHandler | back to summary |
|---|---|
| public void eventHandler(ThreadContext context, String eventName, String file, int line, String name, IRubyObject type) Implements abstract org. | |
| eventSet | back to summary |
|---|---|
| public EnumSet Overrides org.
| |
| getThread | back to summary |
|---|---|
| public ThreadContext getThread() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isInterestedInEvent | back to summary |
|---|---|
| public boolean isInterestedInEvent(RubyEvent event) Implements abstract org.
| |
| setTraceFunc | back to summary |
|---|---|
| public void setTraceFunc(RubyProc traceFunc) | |