Skip to content

Commit ecd7e47

Browse files
committed
8257793: Shenandoah: SATB barrier should only filter out already strongly marked oops
Reviewed-by: shade, rkennke
1 parent e08b9ed commit ecd7e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ inline oop ShenandoahHeap::evacuate_object(oop p, Thread* thread) {
328328

329329
inline bool ShenandoahHeap::requires_marking(const void* entry) const {
330330
oop obj = oop(entry);
331-
return !_marking_context->is_marked(obj);
331+
return !_marking_context->is_marked_strong(obj);
332332
}
333333

334334
inline bool ShenandoahHeap::in_collection_set(oop p) const {

0 commit comments

Comments
 (0)