Class ProfiledMethods
java.lang.Object
org.jruby.runtime.profile.builtin.ProfiledMethods
This is a collection af all methods which will be profiled.
Current it's just a wrapper for a
NonBlockingHashMapLong,
but the implementation can be changed in the future without changing the interface.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NonBlockingHashMapLong<ProfiledMethod>private final Ruby -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProfiledMethod(String name, DynamicMethod method) private RubyInstanceConfigprivate ConcurrentMap<Long,ProfiledMethod> getProfiledMethod(long serial) private intprivate Rubyprivate RubyWarnings
-
Field Details
-
methods
-
runtime
-
-
Constructor Details
-
ProfiledMethods
-
-
Method Details
-
getRuntime
-
getConfig
-
getWarnings
-
getProfileMaxMethods
private int getProfileMaxMethods() -
getMethods
-
addProfiledMethod
-
getProfiledMethod
-