1.1 --- a/src/share/vm/gc_implementation/g1/g1StringDedupQueue.hpp Thu May 22 09:12:29 2014 +0200 1.2 +++ b/src/share/vm/gc_implementation/g1/g1StringDedupQueue.hpp Fri Apr 11 11:00:12 2014 +0200 1.3 @@ -65,6 +65,7 @@ 1.4 G1StringDedupWorkerQueue* _queues; 1.5 size_t _nqueues; 1.6 size_t _cursor; 1.7 + bool _cancel; 1.8 volatile bool _empty; 1.9 1.10 // Statistics counter, only used for logging. 1.11 @@ -81,6 +82,9 @@ 1.12 // Blocks and waits for the queue to become non-empty. 1.13 static void wait(); 1.14 1.15 + // Wakes up any thread blocked waiting for the queue to become non-empty. 1.16 + static void cancel_wait(); 1.17 + 1.18 // Pushes a deduplication candidate onto a specific GC worker queue. 1.19 static void push(uint worker_id, oop java_string); 1.20