RFR: 8270041: Consolidate oopDesc::cas_forward_to() and oopDesc::forward_to_atomic()

Kim Barrett kbarrett at openjdk.java.net
Thu Aug 19 07:50:25 UTC 2021


On Wed, 18 Aug 2021 18:36:11 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> The two methods do exactly the same, except one returns a bool, the other a value. The only use of cas_forward_to() can be consolidated to use forward_to_atomic() instead.
> 
> Testing:
>  - [ ] hotspot_gc
>  - [ ] tier1
>  - [ ] tier2

Looks good.

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

Marked as reviewed by kbarrett (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5167



More information about the hotspot-gc-dev mailing list