| Modifier and Type | Field and Description |
|---|---|
| private volatile int | |
| private final String | |
| public static final Handle | |
| private final int | |
| private static final Logger | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | |
| public IRubyObject | |
| public static IRubyObject | |
| public static CallSite | |
| public void | |
| public int | |
| public String | |
| public void | |
| public static void | |
| public void | setTarget(MethodHandle
the new target target)Overrides java. Updates the target method of this call site, as a normal variable. |
| failures | back to summary |
|---|---|
| private volatile int failures | |
| file | back to summary |
|---|---|
| private final String file | |
| GLOBAL_BOOTSTRAP_H | back to summary |
|---|---|
| public static final Handle GLOBAL_BOOTSTRAP_H | |
| line | back to summary |
|---|---|
| private final int line | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| name | back to summary |
|---|---|
| private final String name | |
| GlobalSite | back to summary |
|---|---|
| public GlobalSite(MethodType type, String name, String file, int line) | |
| failures | back to summary |
|---|---|
| public int failures() | |
| file | back to summary |
|---|---|
| public String file() | |
| getGlobalFallback | back to summary |
|---|---|
| public IRubyObject getGlobalFallback(ThreadContext context) throws Throwable | |
| getGlobalUncached | back to summary |
|---|---|
| public static IRubyObject getGlobalUncached(GlobalVariable variable) throws Throwable | |
| globalBootstrap | back to summary |
|---|---|
| public static CallSite globalBootstrap(MethodHandles. | |
| incrementFailures | back to summary |
|---|---|
| public void incrementFailures() | |
| line | back to summary |
|---|---|
| public int line() | |
| name | back to summary |
|---|---|
| public String name() | |
| setGlobalFallback | back to summary |
|---|---|
| public void setGlobalFallback(IRubyObject value, ThreadContext context) throws Throwable | |
| setGlobalUncached | back to summary |
|---|---|
| public static void setGlobalUncached(GlobalVariable variable, IRubyObject value) throws Throwable | |
| setTarget | back to summary |
|---|---|
| public void setTarget(MethodHandle target) Overrides java. Doc from java. Updates the target method of this call site, as a normal variable. The type of the new target must agree with the type of the old target. The interactions with memory are the same as of a write to an ordinary variable, such as an array element or a non-volatile, non-final field. In particular, unrelated threads may fail to see the updated target until they perform a read from memory. Stronger guarantees can be created by putting appropriate operations into the bootstrap method and/or the target methods used at any given call site.
| |