Forum: JRuby Thread names

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
3a10ab24a98ffb9884eebb4965dbc955?d=identicon&s=25 Guillermo Acilu (Guest)
on 2009-01-06 19:08
(Received via mailing list)
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:
9ff4ad7c2fd1fc0fce18cb59f5649658?d=identicon&s=25 Peter K Chan (Guest)
on 2009-01-06 19:23
(Received via mailing list)
I am not aware of any way to set thread name in Ruby, but you can just
the Java threading system directly:


This topic is locked and can not be replied to.