RFR: 8302127: Remove unused arg in write_ref_field_post

Kim Barrett kbarrett at openjdk.org
Sat Feb 11 00:24:29 UTC 2023


On Thu, 9 Feb 2023 10:56:10 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Trivial removing dead code.

src/hotspot/share/gc/g1/g1BarrierSet.inline.hpp line 71:

> 69: 
> 70: template <DecoratorSet decorators, typename T>
> 71: inline void G1BarrierSet::write_ref_field_post(T* field) {

So this function isn't applying the "same region" filter that's in the various other places.  I wonder if
that's intentional, or a bug?

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

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


More information about the hotspot-dev mailing list