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

[Graal] fromTonga/nsk/jvmti/unit/FollowReferences/followref003/TestDescription.java fails with "Location mismatch" errors

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b09

      Backports

        Description

        romTonga/nsk/jvmti/unit/FollowReferences/followref003/TestDescription.java run with Graal as JIT fails with
        errors:

        Internal: Insufficient locals table size: 256
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=88 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059da8, loc=18, idx=0x1a0000
        Second report of the local: loc_idx=100, frame_id=33, slot=0
        thr_id=5, depth=26, meth=0x0x7fd4c8059da8
        The following fake exception stacktrace is for failuire analysis.
        nsk.share.Fake_Exception_for_RULE_Creation: (followref003.c:549) Location mismatch: expected 0, passed: 18
        at nsk_lvcomplain(nsk_tools.c:156)
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 18
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=16 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059db0, loc=4, idx=0x1b0000
        Second report of the local: loc_idx=100, frame_id=34, slot=0
        thr_id=5, depth=27, meth=0x0x7fd4c8059db0
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 4
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=88 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059db0, loc=4, idx=0x1b0001
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=88 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059db8, loc=33, idx=0x1c0000
        Second report of the local: loc_idx=100, frame_id=35, slot=0
        thr_id=5, depth=28, meth=0x0x7fd4c8059db8
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 33
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=88 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059dc0, loc=52, idx=0x1d0000
        Second report of the local: loc_idx=100, frame_id=36, slot=0
        thr_id=5, depth=29, meth=0x0x7fd4c8059dc0
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 52
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=56 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059dc0, loc=52, idx=0x1d0001
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=24 , len=2
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059dc0, loc=52, idx=0x1d0002
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=112, len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059dc8, loc=125, idx=0x1e0000
        Second report of the local: loc_idx=100, frame_id=37, slot=0
        thr_id=5, depth=30, meth=0x0x7fd4c8059dc8
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 125
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=56 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059dc8, loc=125, idx=0x1e0001
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=56 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059dc8, loc=125, idx=0x1e0002
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=24 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059dc8, loc=125, idx=0x1e0003
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=24 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059dc8, loc=125, idx=0x1e0004
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=24 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059dc8, loc=125, idx=0x1e0005
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=16 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c8059dd0, loc=14, idx=0x1f0000
        Second report of the local: loc_idx=100, frame_id=38, slot=0
        thr_id=5, depth=31, meth=0x0x7fd4c8059dd0
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 14
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=16 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a200, loc=1, idx=0x200000
        Second report of the local: loc_idx=100, frame_id=39, slot=0
        thr_id=5, depth=32, meth=0x0x7fd4c805a200
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 1
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=24 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a340, loc=85, idx=0x220000
        Second report of the local: loc_idx=100, frame_id=40, slot=0
        thr_id=5, depth=34, meth=0x0x7fd4c805a340
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 85
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=16 , len=0
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a340, loc=85, idx=0x220001
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=16 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a348, loc=5, idx=0x230000
        Second report of the local: loc_idx=100, frame_id=41, slot=0
        thr_id=5, depth=35, meth=0x0x7fd4c805a348
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 5
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=16 , len=0
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a348, loc=5, idx=0x230001
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=80 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a350, loc=68, idx=0x240000
        Second report of the local: loc_idx=100, frame_id=42, slot=0
        thr_id=5, depth=36, meth=0x0x7fd4c805a350
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 68
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=16 , len=0
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a350, loc=68, idx=0x240001
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=16 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a350, loc=68, idx=0x240002
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=32 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a358, loc=19, idx=0x250000
        Second report of the local: loc_idx=100, frame_id=43, slot=0
        thr_id=5, depth=37, meth=0x0x7fd4c805a358
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 19
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=32 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a360, loc=13, idx=0x260000
        Second report of the local: loc_idx=100, frame_id=44, slot=0
        thr_id=5, depth=38, meth=0x0x7fd4c805a360
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 13
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=24 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a368, loc=58, idx=0x270000
        Second report of the local: loc_idx=100, frame_id=45, slot=0
        thr_id=5, depth=39, meth=0x0x7fd4c805a368
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 58
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=112, len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a370, loc=52, idx=0x280000
        Second report of the local: loc_idx=100, frame_id=46, slot=0
        thr_id=5, depth=40, meth=0x0x7fd4c805a370
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 52
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=24 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a370, loc=52, idx=0x280002
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=24 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a370, loc=52, idx=0x280003
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=24 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a378, loc=49, idx=0x290001
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=64 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a860, loc=220, idx=0x2a0000
        Second report of the local: loc_idx=100, frame_id=48, slot=0
        thr_id=5, depth=42, meth=0x0x7fd4c805a860
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 220
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=24 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a860, loc=220, idx=0x2a0001
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=16 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a860, loc=220, idx=0x2a0002
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=64 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a860, loc=220, idx=0x2a0006
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=64 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a868, loc=1, idx=0x2b0000
        Second report of the local: loc_idx=100, frame_id=49, slot=0
        thr_id=5, depth=43, meth=0x0x7fd4c805a868
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 1
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=64 , len=-1
        ref_tag=0, thr_tag=15 , thr_id=5, meth=0x0x7fd4c805a870, loc=11, idx=0x2c0003
             heapReferenceCallback: ref=REFERENCE_THREAD, tag=16 , size=384
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=32 , len=-1
        ref_tag=0, thr_tag=16 , thr_id=10, meth=0x0x7fd4c8058da0, loc=59, idx=0x10000
        Second report of the local: loc_idx=100, frame_id=51, slot=0
        thr_id=10, depth=1, meth=0x0x7fd4c8058da0
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 59
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=16 , len=-1
        ref_tag=0, thr_tag=16 , thr_id=10, meth=0x0x7fd4c8058da0, loc=59, idx=0x10003
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=0 , size=32 , len=-1
        ref_tag=0, thr_tag=16 , thr_id=10, meth=0x0x7fd4c805a890, loc=65, idx=0x20000
        Second report of the local: loc_idx=100, frame_id=52, slot=0
        thr_id=10, depth=2, meth=0x0x7fd4c805a890
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 65
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=16 , size=384, len=-1
        ref_tag=0, thr_tag=16 , thr_id=10, meth=0x0x7fd4c805a890, loc=65, idx=0x20001
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=16 , size=384, len=-1
        ref_tag=0, thr_tag=16 , thr_id=10, meth=0x0x7fd4c805a890, loc=65, idx=0x20002
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=16 , size=384, len=-1
        ref_tag=0, thr_tag=16 , thr_id=10, meth=0x0x7fd4c805a898, loc=11, idx=0x30000
        Second report of the local: loc_idx=100, frame_id=53, slot=0
        thr_id=10, depth=3, meth=0x0x7fd4c805a898
        # ERROR: followref003.c, 544: Tag mismatch: expected 0, passed: 0x10
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 11
             heapReferenceCallback: ref=REFERENCE_STACK_LOCAL, class_tag=0 , tag=16 , size=384, len=-1
        ref_tag=0, thr_tag=16 , thr_id=10, meth=0x0x7fd4c805ab90, loc=20, idx=0x40000
        Second report of the local: loc_idx=100, frame_id=54, slot=0
        thr_id=10, depth=4, meth=0x0x7fd4c805ab90
        # ERROR: followref003.c, 544: Tag mismatch: expected 0, passed: 0x10
        # ERROR: followref003.c, 549: Location mismatch: expected 0, passed: 20
             heapReferenceCallback: ref=REFERENCE_THREAD, tag=17 , size=376
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=0 , size=40 , len=-1
        ref_tag=0, thr_tag=17 , thr_id=6, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=0 , size=40 , len=-1
        ref_tag=0, thr_tag=17 , thr_id=6, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_THREAD, tag=18 , size=376
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=0 , size=120, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=9 , size=112, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=99 , size=112, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=9 , tag=55 , size=24 , len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=11 , size=376, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=12 , size=376, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=13 , size=384, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=14 , size=376, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=15 , size=376, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=16 , size=384, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=17 , size=376, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=18 , size=376, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=0 , size=112, len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0
             heapReferenceCallback: ref=REFERENCE_JNI_LOCAL, class_tag=0 , tag=0 , size=48 , len=-1
        ref_tag=0, thr_tag=18 , thr_id=12, meth=0x(nil), loc=-1, idx=0

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dtitov Daniil Titov (Inactive)
                Reporter:
                epavlova Ekaterina Pavlova
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: