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

CompileTask::print_impl() is broken after JDK-8146905

XMLWordPrintable

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

      After the fix for JDK-8146905, printing of the current compile task in the hs_err file is broken:

      Current CompileTask:
      C2:
      [error occurred during error reporting (printing current compile task), id 0xe0000000]

      This is because VMError::report() now passes VMError::out/log to CompileTask::print_line_on_error() which does not have the outputStream::_stamp TimeStamp initialized. CompileTask::print_impl() then invokes TimeStamp::milliseconds() and we hit the "must not be clear" assert because the _counter is zero.

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

              Created:
              Updated:
              Resolved: