Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8257793: Shenandoah: SATB barrier should only filter out already stro…
…ngly marked oops

Reviewed-by: shade, rkennke
  • Loading branch information
zhengyu123 committed Dec 7, 2020
1 parent e08b9ed commit ecd7e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp
Expand Up @@ -328,7 +328,7 @@ inline oop ShenandoahHeap::evacuate_object(oop p, Thread* thread) {

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

inline bool ShenandoahHeap::in_collection_set(oop p) const {
Expand Down

1 comment on commit ecd7e47

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.