Back when Shenandoah required read- and write-barriers on all object accesses, we introduced using the HeapAccess API to access object header words, too. Since JDK 13 (introduction of Shenandoah LRB), this is no longer necessary. I propose to simplify header access by not using the Access API but use ordinary C++ instead.
- duplicates
-
JDK-8272654 Mark word accesses should not use Access API
-
- Resolved
-
- links to
-
Review openjdk/jdk/4827