Skip to content

Commit

Permalink
Demorganization of clause in assert per review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ysramakrishna committed Dec 5, 2024
1 parent 76ab8f3 commit 040b7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ bool ShenandoahBarrierSet::need_keep_alive_barrier(DecoratorSet decorators, Basi

void ShenandoahBarrierSet::on_slowpath_allocation_exit(JavaThread* thread, oop new_obj) {
#if COMPILER2_OR_JVMCI
assert(!(ReduceInitialCardMarks && ShenandoahCardBarrier) || ShenandoahGenerationalHeap::heap()->is_in_young(new_obj),
assert(!ReduceInitialCardMarks || !ShenandoahCardBarrier || ShenandoahGenerationalHeap::heap()->is_in_young(new_obj),
"Error: losing card mark on initialzing store to old gen");
#endif // COMPILER2_OR_JVMCI
assert(thread->deferred_card_mark().is_empty(), "We don't use this");
Expand Down

0 comments on commit 040b7e3

Please sign in to comment.