The compiler in Hotspot has a field constant system that is performance critical. However, it remains largely opaque and confusing to JDK developers. Primarily, it has no declarative structure that is accessible as Java code. So the best way to expose this to JDK engineers is an overview documentation that describes various details about this constant folding system, preferably in somewhere accessible to core library engineers.
- relates to
-
JDK-8372696 Allow boot classes to explicitly opt-in for final field trusting
-
- Open
-