Need documentation to explain constant folding and variable trusting to JDK dvelopers

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P5
    • tbd
    • Affects Version/s: 25
    • Component/s: hotspot

      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.

            Assignee:
            Unassigned
            Reporter:
            Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: