Skip to content

Commit 9efbb46

Browse files
committed
8256426: Shenandoah: Remove superfluous assert is ShBS::load_reference_barrier()
Reviewed-by: shade
1 parent 9130ca4 commit 9efbb46

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ inline oop ShenandoahBarrierSet::load_reference_barrier(oop obj, T* load_addr) {
113113
if ((HasDecorator<decorators, ON_WEAK_OOP_REF>::value || HasDecorator<decorators, ON_UNKNOWN_OOP_REF>::value) &&
114114
obj != NULL && _heap->is_concurrent_weak_root_in_progress() &&
115115
!_heap->marking_context()->is_marked_strong(obj)) {
116-
assert(Thread::current()->is_Java_thread(), "only Java threads get here");
117116
return NULL;
118117
}
119118

0 commit comments

Comments
 (0)