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

Implement getInstanceSize/sizeOf intrinsics

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b25

      Description

      This is fork off the SizeOf JEP, JDK-8249196. There is already the entry point in JDK that can use the intrinsic like this: Instrumentation.getInstanceSize. Therefore, we can implement the C1/C2 intrinsic now, hook it up to Instrumentation, and let the tools use that fast path today.

      Work is done here:
        https://github.com/openjdk/jdk/pull/650

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: