-
Enhancement
-
Resolution: Fixed
-
P4
-
19, 20
-
None
This works well when the holder `Method` instance is constant: JIT compilers fold `@Stable` well. But if such folding fails, we always dereference the full-blown reference to "boxed" `Boolean` from the field on every access. We can instead do a more lean tri-state primitive field to improve that non-optimized case without sacrificing optimized case.
- relates to
-
JDK-8271820 Implementation of JEP 416: Reimplement Core Reflection with Method Handle
- Resolved