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

Stefan Karlsson stefank at openjdk.java.net
Thu Aug 19 07:21:23 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

Marked as reviewed by stefank (Reviewer).

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

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



More information about the hotspot-gc-dev mailing list