From 0b959098be452aa2c9b461c921e11b19678138c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Casta=C3=B1eda=20Lozano?= Date: Tue, 5 Mar 2024 06:56:49 +0000 Subject: [PATCH] 8327224: G1: comment in G1BarrierSetC2::post_barrier() refers to nonexistent new_deferred_store_barrier() Reviewed-by: kbarrett --- src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp b/src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp index 06be2fd7606..807e9aa9c59 100644 --- a/src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp +++ b/src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp @@ -389,7 +389,7 @@ void G1BarrierSetC2::post_barrier(GraphKit* kit, if (use_ReduceInitialCardMarks() && obj == kit->just_allocated_object(kit->control())) { // We can skip marks on a freshly-allocated object in Eden. - // Keep this code in sync with new_deferred_store_barrier() in runtime.cpp. + // Keep this code in sync with CardTableBarrierSet::on_slowpath_allocation_exit. // That routine informs GC to take appropriate compensating steps, // upon a slow-path allocation, so as to make this card-mark // elision safe.