< prev index next >
src/share/vm/gc_implementation/shenandoah/shenandoahOopClosures.inline.hpp
Print this page
rev 10493 : [Backport] Shenandoah string deduplication
rev 10582 : [backport] Avoid indirection to next-mark-context
@@ -25,13 +25,13 @@
#define SHARE_VM_GC_SHENANDOAH_SHENANDOAHOOPCLOSURES_INLINE_HPP
#include "gc_implementation/shenandoah/shenandoahHeap.inline.hpp"
#include "gc_implementation/shenandoah/shenandoahConcurrentMark.inline.hpp"
-template<class T, UpdateRefsMode UPDATE_REFS>
+template<class T, UpdateRefsMode UPDATE_REFS, bool STRING_DEDUP>
inline void ShenandoahMarkRefsSuperClosure::work(T *p) {
- ShenandoahConcurrentMark::mark_through_ref<T, UPDATE_REFS>(p, _heap, _queue);
+ ShenandoahConcurrentMark::mark_through_ref<T, UPDATE_REFS, STRING_DEDUP>(p, _heap, _queue, _mark_context, _dedup_queue);
}
template <class T>
inline void ShenandoahUpdateHeapRefsClosure::do_oop_nv(T* p) {
_heap->maybe_update_with_forwarded(p);
< prev index next >