On Mon, 27 Sep 2021 19:59:00 GMT, Mandy Chung <mch...@openjdk.org> wrote:
> One thing I'm puzzling is why the performance result is better but > `java.lang.reflect` is not in the TNSFF package list. I think for deciding if a field can be treated as constant, `@Stable` has equal weight as a final in a TNSFF package, see https://github.com/openjdk/jdk/blob/master/src/hotspot/share/ci/ciField.cpp#L287 Adding java/lang/reflect to the trusted package list seem reasonable, though. ------------- PR: https://git.openjdk.java.net/jdk/pull/5694