< prev index next >

src/share/vm/gc_implementation/shenandoah/shenandoahStrDedupQueue.hpp

Print this page
rev 10658 : [backport] Single marking bitmap
rev 10715 : [backport] Cleanup up superfluous newlines
rev 10772 : [backport] Update copyrights

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2017, 2018, Red Hat, Inc. and/or its affiliates.
+ * Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.
  *

@@ -62,11 +62,10 @@
 
 class ShenandoahStrDedupQueueSet;
 
 typedef ShenandoahStrDedupChunkedList<64> QueueChunkedList;
 
-
 class ShenandoahStrDedupQueue : public CHeapObj<mtGC> {
 private:
   ShenandoahStrDedupQueueSet* _queue_set;
   QueueChunkedList*           _current_list;
   uint                        _queue_num;

@@ -137,21 +136,20 @@
   Monitor* lock() const { return _lock; }
 
   size_t claim();
 };
 
-
 class ShenandoahStrDedupQueueCleanupClosure : public OopClosure {
 private:
   ShenandoahHeap*   _heap;
   ShenandoahMarkingContext* const _mark_context;
 
   template <class T>
   inline void do_oop_work(T* p);
 public:
   ShenandoahStrDedupQueueCleanupClosure() : _heap(ShenandoahHeap::heap()),
-                                            _mark_context(ShenandoahHeap::heap()->next_marking_context()) {
+                                            _mark_context(ShenandoahHeap::heap()->marking_context()) {
   }
 
   inline void do_oop(oop* p)        { do_oop_work(p); }
   inline void do_oop(narrowOop* p)  { do_oop_work(p); }
 };
< prev index next >