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

Investigate better field access performance by refining bytecode shapes

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: