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

C2: Use profiling data to optimize on/off heap unsafe accesses

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      JDK-8176506 changed the unsafe access logic to be much more conservative for accesses that are not known to be on or off heap. Using profiling of arguments of Unsafe.put* and Unsafe.get*, C2 can often speculate whether an access is on heap or off heap. Better code generation of loops of unsafe accesses should compensate the cost of the extra null check/assert.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                roland Roland Westrelin
                Reporter:
                roland Roland Westrelin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: