--- old/src/hotspot/share/gc/shared/taskqueue.hpp 2018-06-21 16:45:13.786301687 -0400 +++ new/src/hotspot/share/gc/shared/taskqueue.hpp 2018-06-21 16:45:13.535300452 -0400 @@ -396,9 +396,12 @@ template class GenericTaskQueueSet: public TaskQueueSetSuperImpl { + static const uint INVALID_QUEUE_ID = uint(-1); + private: - uint _n; - T** _queues; + uint _n; + T** _queues; + uint* _last_stolen_queues; public: typedef typename T::element_type E;