81 // A single VMThread (the primordial thread) spawns all other threads |
81 // A single VMThread (the primordial thread) spawns all other threads |
82 // and is itself used by other threads to offload heavy vm operations |
82 // and is itself used by other threads to offload heavy vm operations |
83 // like scavenge, garbage_collect etc. |
83 // like scavenge, garbage_collect etc. |
84 // |
84 // |
85 |
85 |
86 class VMThread: public Thread { |
86 class VMThread: public NamedThread { |
87 private: |
87 private: |
88 static ThreadPriority _current_priority; |
88 static ThreadPriority _current_priority; |
89 |
89 |
90 static bool _should_terminate; |
90 static bool _should_terminate; |
91 static bool _terminated; |
91 static bool _terminated; |