Loading... (original) (raw)
Re-examine the hierarchy in thread.hpp
// Class hierarchy
// - Thread
// - NamedThread
// - VMThread
// - ConcurrentGCThread
// - WorkerThread
// - GangWorker
// - GCTaskThread
// - JavaThread
// - WatcherThread
to decide if there is a better organization. In particular "NamedThread" includes the VM-thread and all the GC threads. Are GC threads logically different than the VM-thread? The VM-thread does do GC work (among) many other tasks. This is prompted by the addition of the GCId to NamedThread. GCId's may soon be needed by JavaThreads (if they do GC work that includes logging). A better name than "NamedThread" would be nice.