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

JDK-8003985 broke InstanceKlass.getFieldOffset() in SA

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • hs25
    • hs25
    • hotspot
    • None
    • svc
    • generic
    • generic

      JDK-8003985 introduced "packed offsets" in InstanceKlass' fields array, so code accessing field offset in InstanceKlass was changed accordingly. But the change in the SA part mistakenly used FIELDINFO_TAG_SIZE instead of FIELDINFO_TAG_MASK for masking in InstanceKlass.getFieldOffset(), which broke a couple of utils in SA, e.g. PStack.

            kmo Krystal Mo (Inactive)
            kmo Krystal Mo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: