Thread names

Hello guys,

can I give names to the JRuby threads? I am trying to debug the GC of
a jruby application and in jconsole I can see only thread-1, thread-2,
etc. I would like to assign names so I know which piece of ruby code
is running each thread.

Thanks in advance,


To unsubscribe from this list, please visit:

I am not aware of any way to set thread name in Ruby, but you can just
the Java threading system directly: