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

Roman Kennke rkennke at openjdk.java.net
Thu Aug 19 19:57:28 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

This pull request has now been integrated.

Changeset: f4be211a
Author:    Roman Kennke <rkennke at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f4be211ae290824cb6c678dcdff0df91a20117d6
Stats:     10 lines in 3 files changed: 0 ins; 9 del; 1 mod

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

Reviewed-by: stefank, kbarrett

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

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



More information about the hotspot-gc-dev mailing list