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

[JVMCI] notifyInstall event is triggered if code installation failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot

      according to javadoc, a notifyInstall event(HotSpotVMEventListener) should be called only for successfull code install:

          /**
           * Notify on successful install into the CodeCache.
           *
           * @param hotSpotCodeCacheProvider
           * @param installedCode
           * @param compResult
           */

      but current HotSpotCodeCacheProvider::installMethod just call logOrDump=>....=>...notifyInstall(...) without any checks of runtime.getCompilerToVM().installCode result.

            twisti Christian Thalinger (Inactive)
            dpochepk Dmitrij Pochepko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: