-
Bug
-
Resolution: Fixed
-
P3
-
9
-
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.
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.
- relates to
-
JDK-8146905 cleanup ostream, staticBufferStream
-
- Resolved
-