Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/jruby/gc_stats.rb
Instance Method Summary collapse
Instance Method Details
#caller_for_all_threads ⇒ Object
106 107 108 109 110 111 112 113 114 115 |
# File 'lib/jruby/gc_stats.rb', line 106 def caller_for_all_threads backtraces = {} ts = JRuby.runtime.thread_service ts.active_ruby_threads.each do |rthread| tc = ts.get_thread_context_for_thread(rthread) caller = tc.create_caller_backtrace(JRuby.runtime, 0) backtraces[rthread] = caller end backtraces end |