[BACKOUT] Avoid repeated calls to JavaThread::last_frame in InterpreterRuntime

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P1
    • 10
    • Affects Version/s: 10
    • Component/s: hotspot
    • None
    • b21

      JDK-8179305 caused the following failures, leading to failures in JPRT

      JDK-8179593 - guarantee failure in deflate_idle_monitors
      JDK-8179606 - assert(!mark->has_bias_pattern()) failed: invariant

      Possible reason for the failure:
      In JDK-8179305, I reused the "last_frame" object across a Java up call (e.g, LinkResolver::resolve_field_access). Perhaps that did something that invalidates the contents of the last_frame. See http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/601d8c7ab6f6 => search for "@@ -556,20"

            Assignee:
            Ioi Lam
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: