org.jruby.internal.runtime
Class ThreadService

java.lang.Object
  extended by org.jruby.internal.runtime.ThreadService

public class ThreadService
extends java.lang.Object

ThreadService maintains lists ofall the JRuby-specific thread data structures needed for Ruby's threading API and for JRuby's execution. The main structures are:

In order to ensure these structures do not linger after the thread has terminated, most of them are either weakly or softly referenced. The references associated with these structures are: These data structures can come to life in one of two ways: