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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 9
    • hotspot
    • b42

        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.

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

                Created:
                Updated:
                Resolved: