-
-
Notifications
You must be signed in to change notification settings - Fork 931
Closed
Milestone
Description
Environment Information
Provide at least:
- JRuby version (
jruby -v
) and command line (flags, JRUBY_OPTS, etc): 9.4.9.0 - Operating system and platform (e.g.
uname -a
): linux/macos
Expected Behavior
if you try to kill -usr2 PID
this simple program:
require 'jruby/thread_dump'
sleep 1000
You should get a thread dump printed to stderr/stdout.
Actual Behavior
Instead this error is printed:
* Thread: main
* Stack:
ArgumentError: wrong number of arguments (given 3, expected 2)
<main> at /opt/jruby/lib/ruby/stdlib/jruby/thread_dump.rb:34
each at org/jruby/java/proxies/ArrayJavaProxy.java:461
<main> at /opt/jruby/lib/ruby/stdlib/jruby/thread_dump.rb:10
Metadata
Metadata
Assignees
Labels
No labels