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.

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

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

Changes: https://git.openjdk.org/valhalla/pull/2200/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2200&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8378521
  Stats: 45 lines in 5 files changed: 3 ins; 8 del; 34 mod
  Patch: https://git.openjdk.org/valhalla/pull/2200.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2200/head:pull/2200

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

Reply via email to