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

Incorrect UnifiedOop::is_narrow assertions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
      jfr

      Description

      In edgeUtils.cpp, the file-scoped functions field_offset and array_offset call UnifiedOop::is_narrow on the result of a call to UnifiedOop::decode, in assertions that the value is not narrow. But a decoded result doesn't have the tag information to discriminate between narrow and not narrow. So these assertions will always pass, whether a narrow value is involved in the edge or not.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mgronlun Markus Grönlund
              Reporter:
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: