public class ProfiledMethods
extends java.lang.Object
ConcurrentMap,
but the implementation can be changed in the future without changing the interface.| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.ConcurrentMap<java.lang.Long,ProfiledMethod> |
methods |
private Ruby |
runtime |
| Constructor and Description |
|---|
ProfiledMethods(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProfiledMethod(java.lang.String name,
DynamicMethod method) |
private RubyInstanceConfig |
getConfig() |
private java.util.concurrent.ConcurrentMap<java.lang.Long,ProfiledMethod> |
getMethods() |
ProfiledMethod |
getProfiledMethod(long serial) |
private int |
getProfileMaxMethods() |
private Ruby |
getRuntime() |
private RubyWarnings |
getWarnings() |
private final java.util.concurrent.ConcurrentMap<java.lang.Long,ProfiledMethod> methods
private final Ruby runtime
public ProfiledMethods(Ruby runtime)
private Ruby getRuntime()
private RubyInstanceConfig getConfig()
private RubyWarnings getWarnings()
private int getProfileMaxMethods()
private java.util.concurrent.ConcurrentMap<java.lang.Long,ProfiledMethod> getMethods()
public void addProfiledMethod(java.lang.String name,
DynamicMethod method)
public ProfiledMethod getProfiledMethod(long serial)