Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8275172

Investigate better field access performance by refining bytecode shapes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 18
    • core-libs
    • None

      JEP 416 replaces the old implementation using Unsafe operation for field access with MethodHandle (VarHandle does not have customization which shows performance difference in microbenchmark).

      Vladimir Ivanov suggests an idea to refine bytecode shapes for field access to enable concrete MethodHandle or VarHandle be reliably optimized by JIT irrespective of whether receiver is constant or not.

            liach Chen Liang
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: