src/hotspot/share/gc/parallel/pcTasks.hpp
changeset 50058 f7e564cacfbc
parent 47216 71c04702a3d5
child 50071 758deedaae84
--- a/src/hotspot/share/gc/parallel/pcTasks.hpp	Mon May 07 14:57:25 2018 +0200
+++ b/src/hotspot/share/gc/parallel/pcTasks.hpp	Mon May 07 16:12:07 2018 +0200
@@ -67,11 +67,10 @@
 
 class ThreadRootsMarkingTask : public GCTask {
  private:
-  JavaThread* _java_thread;
-  VMThread* _vm_thread;
+  Thread* _thread;
+
  public:
-  ThreadRootsMarkingTask(JavaThread* root) : _java_thread(root), _vm_thread(NULL) {}
-  ThreadRootsMarkingTask(VMThread* root) : _java_thread(NULL), _vm_thread(root) {}
+  ThreadRootsMarkingTask(Thread* root) : _thread(root) {}
 
   char* name() { return (char *)"thread-roots-marking-task"; }