Class: Java::OrgJrubyRuntimeProfileBuiltin::InvocationSet
- Inherits:
-
Object
- Object
- Java::OrgJrubyRuntimeProfileBuiltin::InvocationSet
- Defined in:
- lib/jruby/profiler/flame_graph_profile_printer.rb
Overview
HACK: This hack is here so we can read the set of invocations from the InvocationSet class. We need this to follow the stack trace.
Instance Method Summary collapse
Instance Method Details
#get_invocations ⇒ Object
6 7 8 9 10 |
# File 'lib/jruby/profiler/flame_graph_profile_printer.rb', line 6 def get_invocations field = ::Java::OrgJrubyRuntimeProfileBuiltin::InvocationSet.java_class.declared_field(:invocations) field.accessible = true field.value(self) end |