RFR: 8271939: Clean up primitive raw accessors in oopDesc

Aleksey Shipilev shade at openjdk.java.net
Thu Aug 5 16:11:34 UTC 2021


On Thu, 5 Aug 2021 11:20:58 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> We have some _raw accessors in oop.hpp and related code. Those are leftover from when Shenandoah required primitive barriers and are no longer needed. Their uses can be replaced with the regular accessors.
> 
> Testing:
>  - [x] tier1
>  - [x] tier2
>  - [x] hotspot_gc

Looking at the [RFE](http://hg.openjdk.java.net/jdk/jdk/rev/7c3891b9f1e0) that introduced these, I think `loader_data_raw` is also the candidate for removal?

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

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



More information about the hotspot-gc-dev mailing list