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

[JVMCI] batch compilation for libgraal should work the same way as for C2

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • hotspot
    • b20

    Description

      There's extra logic in the CompileBroker for waiting for blocking JVMCI compilations to try and prevent deadlock (JDK-8148507). However, this is not relevant for libgraal which does not run Java code that can be accessing locks used by other threads.

      However, over time, this logic was extended to unblock a blocking compilation when a libgraal internal deadlock is detected. It turns out that this hides deadlocks or long compilations that should be solved in libgraal itself.

      As such, blocking compilation in for libgraal should just be treated the same as blocking compilations for C1 and C2.

      Attachments

        Issue Links

          Activity

            People

              dnsimon Douglas Simon
              dnsimon Douglas Simon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: