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

Implement getInstanceSize/sizeOf intrinsics

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 16
    • 16
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: