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

Incorrect UnifiedOop::is_narrow assertions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 14
    • 14
    • 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.

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

              Created:
              Updated:
              Resolved: