Implement getInstanceSize/sizeOf intrinsics

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: 16
    • Component/s: hotspot
    • b25

      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

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

              Created:
              Updated:
              Resolved: