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

InspectedFrame.materializeVirtualObjects only updates locals with new objects

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b41
    • Verification:
      Verified

      Backports

        Description

        InspectedFrame.materializeVirtualObjects allows non-lazy materialization of a deoptimization by forcing the allocation of escape analyzed objects. This is accomplished by allocating those objects early and using jvmtiDeferredLocalVariableSet to write the into the deoptimized frame state. The current logic only writes to the locals and ignores any references to those VirtualObjects on the stack or the lock stack. The machinery must be expanded to cover those values.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  never Tom Rodriguez
                  Reporter:
                  never Tom Rodriguez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: