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

JSR 292: Strange values of stack_size in -XX:+TraceMethodHandles output

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: hs23
    • Fix Version/s: hs23
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b16
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        During verification of 7120468, I noticed that stack_size in output can be negative or very big. Before 7120468, it was always zero.

        Examples:

        MH bound_ref rcx_mh=0xdb7579c8
        sp=(0xf6d41ee4+3) stack_size=114797400 bp=0xf6d41ee4
        MH bound_ref rcx_mh=0xdb7575b8
        sp=(0xf6d41ee0+4) stack_size=0 bp=0xf6d41ee0
        MH adapter_retype_only rcx_mh=0xdb757970
        sp=(0xf6d41edc+5) stack_size=24978944 bp=0xf6d41edc
        MH invokespecial rcx_mh=0xdb757840
        sp=(0xf6d41edc+5) stack_size=24978944 bp=0xf6d41edc
        MH invokeExact rcx_mh=0xdb74a9a8
        sp=(0xf6d41f30+4) stack_size=0 bp=0xf6d41f30
        MH bound_ref_direct rcx_mh=0xdb74a9a8
        sp=(0xf6d41f30+4) stack_size=0 bp=0xf6d41f30
        MH invokeExact rcx_mh=0xdb757e18
        sp=(0xf6d41f30+4) stack_size=0 bp=0xf6d41f30
        MH bound_ref rcx_mh=0xdb757e18
        sp=(0xf6d41f30+4) stack_size=0 bp=0xf6d41f30
        MH bound_ref rcx_mh=0xdb757d70
        sp=(0xf6d41f2c+5) stack_size=-38467641 bp=0xf6d41f2c
        MH bound_ref_direct rcx_mh=0xdb757c18
        sp=(0xf6d41f28+6) stack_size=0 bp=0xf6d41f28
        MH invokeExact rcx_mh=0xdb7572c0
        sp=(0xf6d41ee0+4) stack_size=0 bp=0xf6d41ee0


        MH invokeExact rcx_mh=0xdb757e18
        sp=(0xf6d41f30+4) stack_size=0 bp=0xf6d41f30
        MH bound_ref rcx_mh=0xdb757e18
        sp=(0xf6d41f30+4) stack_size=0 bp=0xf6d41f30
        MH bound_ref rcx_mh=0xdb757d70
        sp=(0xf6d41f2c+5) stack_size=-38467641 bp=0xf6d41f2c
        MH bound_ref_direct rcx_mh=0xdb757c18
        sp=(0xf6d41f28+6) stack_size=0 bp=0xf6d41f28
        MH invokeExact rcx_mh=0xdb7572c0
        sp=(0xf6d41ee0+4) stack_size=0 bp=0xf6d41ee0

        MH bound_ref rcx_mh=0xdb757e18
        sp=(0xf6d41f30+4) stack_size=0 bp=0xf6d41f30
        MH bound_ref rcx_mh=0xdb757d70
        sp=(0xf6d41f2c+5) stack_size=-38467641 bp=0xf6d41f2c
        MH bound_ref_direct rcx_mh=0xdb757c18
        sp=(0xf6d41f28+6) stack_size=0 bp=0xf6d41f28
        MH invokeExact rcx_mh=0xdb7572c0
        sp=(0xf6d41ee0+4) stack_size=0 bp=0xf6d41ee0

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  twisti Christian Thalinger
                  Reporter:
                  nhaustov Nicolay Haustov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: