RFR: 8271820: Implementation of JEP 416: Reimplement Core Reflection with Method Handle [v8]

Mandy Chung mchung at openjdk.java.net
Tue Sep 14 20:21:01 UTC 2021

On Tue, 14 Sep 2021 19:33:38 GMT, Peter Levart <plevart at openjdk.org> wrote:

> Just another question: Is migrating from Unsafe based FieldAccessor(s) to VarHandle based an important step to final goal of Unsafe elimination because I don't think it is a necessary step for Loom.

No.  We could continue to use Unsafe but moving to VarHandle reduces the development cost when extending core reflection for a new feature for example for Project Valhalla, which is one of the goals.


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

More information about the core-libs-dev mailing list