On Thu, 5 Mar 2026 07:54:16 GMT, Axel Boldt-Christmas <[email protected]> 
wrote:

> For `IS_DEST_UNINITIALIZED` it would never be valid for the 
> CardTableBarrierSet to do a pre-barrier. Currently `value_copy_in_heap` and 
> `value_store_null_in_heap` both iterates the oops and virtually calls into 
> the barriers sets pre barriers (of which all implementations are no-ops for 
> uninitialized values).
> 
> Remove this as part of the `CardTableBarrierSet` interface. After this is 
> integrated I will upstream the relevant changes of this patch to mainline.

This pull request has now been integrated.

Changeset: 9024b8ee
Author:    Axel Boldt-Christmas <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/9024b8ee454e103248fc24cd95fd7543253600f4
Stats:     41 lines in 5 files changed: 2 ins; 8 del; 31 mod

8378521: [lworld] Completely remove pre-barriers in CardTableBarrierSet when 
IS_DEST_UNINITIALIZED for value stores

Reviewed-by: stefank

-------------

PR: https://git.openjdk.org/valhalla/pull/2200

Reply via email to