< prev index next >
src/hotspot/share/gc/shenandoah/shenandoahConcurrentRoots.cpp
Print this page
rev 56160 : 8230483: Shenandoah: Shenandoah assert_correct failed; Object klass pointer should not be NULL
*** 26,36 ****
#include "gc/shenandoah/shenandoahConcurrentRoots.hpp"
#include "gc/shenandoah/shenandoahHeap.inline.hpp"
bool ShenandoahConcurrentRoots::can_do_concurrent_roots() {
// Don't support traversal GC at this moment
! return !ShenandoahHeap::heap()->is_concurrent_traversal_in_progress();
}
bool ShenandoahConcurrentRoots::should_do_concurrent_roots() {
ShenandoahHeap* const heap = ShenandoahHeap::heap();
bool stw_gc_in_progress = heap->is_full_gc_in_progress() ||
--- 26,36 ----
#include "gc/shenandoah/shenandoahConcurrentRoots.hpp"
#include "gc/shenandoah/shenandoahHeap.inline.hpp"
bool ShenandoahConcurrentRoots::can_do_concurrent_roots() {
// Don't support traversal GC at this moment
! return !ShenandoahHeap::heap()->is_traversal_mode();
}
bool ShenandoahConcurrentRoots::should_do_concurrent_roots() {
ShenandoahHeap* const heap = ShenandoahHeap::heap();
bool stw_gc_in_progress = heap->is_full_gc_in_progress() ||
< prev index next >