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

Speculative traps not robust when compilation and class unloading are concurrent

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b31

      Backports

        Description

        Speculative traps recorded in a MethodData can be removed at a safepoint. During a compilation, as a MethodData is copied and translated by a compiler thread to build a ciMethodData, a safepoint can occur as speculative traps are being copied, and not yet copied speculative traps may be removed. That changes the layout of the traps. The loop doing the copying doesn't handle it currently.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  roland Roland Westrelin
                  Reporter:
                  roland Roland Westrelin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: