RFR: 8289575: G1: Remove unnecessary is-marking-active check in G1BarrierSetRuntime::write_ref_field_pre_entry

Thomas Schatzl tschatzl at openjdk.org
Fri Jul 1 11:33:38 UTC 2022


On Fri, 1 Jul 2022 10:19:10 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Simple change of removing an unnecessary check. After that, the `enqueue` method becomes unused so removed as well.
> 
> Test: tier1-3

Lgtm. I closed [JDK-8258607](https://bugs.openjdk.org/browse/JDK-8258607) as duplicate of this as this change removes the last use of `SATBMarkQueue::enqueue`.

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

Marked as reviewed by tschatzl (Reviewer).

PR: https://git.openjdk.org/jdk/pull/9345



More information about the hotspot-gc-dev mailing list