Incorrect UnifiedOop::is_narrow assertions

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: