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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • hs23
    • hs23
    • hotspot
    • b16
    • generic
    • generic
    • Verified

        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: