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

JVMTI Doc: jvmtiHeapReferenceKind uses outdated references to old form of jvmtiReferrerInfo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • hotspot
    • None
    • 6
    • b53
    • generic
    • generic

      When jvmtiReferrerInfo was revamped, jvmtiHeapReferenceKind didn't get updated and thus is very wrong.

      -Robert

      --------------------------

      Hi Robert,

      I have just found that there is a bug in the section:
      http://www.icogitate.com/~jsr163/eg/jvmti.html#jvmtiReferrerInfo

      1. The following links are not being resolved:
       |field_index| <http://jpda.sfbay/hs/a/build/solaris/solaris_sparc_docs/jvmti.html#jvmtiReferrerInfo.field_index>
       |array_index| <http://jpda.sfbay/hs/a/build/solaris/solaris_sparc_docs/jvmti.html#jvmtiReferrerInfo.array_index>
       |constant_pool_index| <http://jpda.sfbay/hs/a/build/solaris/solaris_sparc_docs/jvmti.html#jvmtiReferrerInfo.constant_pool_index>
       |thread_tag| <http://jpda.sfbay/hs/a/build/solaris/solaris_sparc_docs/jvmti.html#jvmtiReferrerInfo.thread_tag&gt;, |depth| <http://jpda.sfbay/hs/a/build/solaris/solaris_sparc_docs/jvmti.html#jvmtiReferrerInfo.depth&gt;, |method| <http://jpda.sfbay/hs/a/build/solaris/solaris_sparc_docs/jvmti.html#jvmtiReferrerInfo.method> and |slot| <http://jpda.sfbay/hs/a/build/solaris/solaris_sparc_docs/jvmti.html#jvmtiReferrerInfo.slot>

      2. The new fields thread_id and location are missed in the descriptions of the stack/jni locals.

      3. The spelling of the fields became obsolete after the last 'union' fix:
       |field_index| <http://jpda.sfbay/hs/a/build/solaris/solaris_sparc_docs/jvmti.html#jvmtiReferrerInfo.field_index>
       |array_index| <http://jpda.sfbay/hs/a/build/solaris/solaris_sparc_docs/jvmti.html#jvmtiReferrerInfo.array_index>
       |constant_pool_index| <http://jpda.sfbay/hs/a/build/solaris/solaris_sparc_docs/jvmti.html#jvmtiReferrerInfo.constant_pool_index>

      Thanks,
      Serguei

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: