Integrated: 8272723: Don't use Access API to access primitive fields

Roman Kennke rkennke at openjdk.java.net
Mon Oct 11 10:41:13 UTC 2021


On Thu, 19 Aug 2021 14:27:14 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> For earlier incarnations of Shenandoah, we needed to put barriers before accessing primitive fields. This is no longer necessary nor implemented/used by any GC, and we should simplify the code to do plain access instead.
> 
> (We may want to remove remaining primitive access machinery in the Access API soon)
> 
> Testing:
>  - [x] build x86_32 and x86_64
>  - [x] tier1
>  - [x] tier2
>  - [x] hotspot_gc

This pull request has now been integrated.

Changeset: 3edee1e1
Author:    Roman Kennke <rkennke at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/3edee1e1feed564397ac47a32c0394d7798bac17
Stats:     198 lines in 9 files changed: 4 ins; 92 del; 102 mod

8272723: Don't use Access API to access primitive fields

Reviewed-by: stefank, eosterlund

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

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


More information about the hotspot-dev mailing list