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

Failed compilation does not always trigger a JFR event 'CompilerFailure'

    Details

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

      Backports

        Description

        The JFR 'EventCompilerFailure' should be triggered in the top level 'ciEnv::record_failure' instead of 'Compile::record_failure' . Failures that happen during compilation are passed up to ciEnv in 'C2Compiler::compile_method' anyway. However, failures that happen in ciEnv do not trigger an EventCompilerFailure although compilation fails.

        For example, "code cache is full" in 'ciEnv::register_method' does not trigger a JFR event but compilation fails.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  thartmann Tobias Hartmann
                  Reporter:
                  thartmann Tobias Hartmann
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: