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

[lworld] Re-evaluate fix for JDK-8242453

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • repo-valhalla
    • repo-valhalla
    • hotspot

      The fix for JDK-8242453 relaxed the assert in MemNode::optimize_memory_chain because loads from a non-flat array can be pushed through an arraycopy from a flat array (see LoadNode::can_see_arraycopy_value) and end up with an inconsistent memory input (oop load from flat array). The checks emitted for the arraycopy will catch this and the load will be removed but optimize_memory_chain() can still be executed before that happens.

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: