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

inconsistent args passed to AbstractInterpreter::layout_activation

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 8, 9
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      In jdk8:

      1)
        a) When calling layout_activation() for size calculation, caller_actual_parameters is equal to callee_param_count (except for the bottom frame).
        b) When calling it for frame data filling, caller_actual_parameters is the number of parameters the caller passed to this frame (no relation between caller_actual_parameters and callee_param_count).

      2)
        a) When calling layout_activation() for size calculation, caller_actual_parameters, callee_param_count and tempcount are not adjusted by +1 for MemberName argument.
        b) When calling it for frame data filling it receives adjusted counters.

      After the fix for 8032410, 1) is fixed, but 2) remains.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dlong Dean Long
                Reporter:
                dlong Dean Long
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: