RFR: JDK-8292351: tty should always live [v4]
Thomas Stuefe
stuefe at openjdk.org
Sat Aug 20 06:19:30 UTC 2022
On Fri, 19 Aug 2022 12:48:19 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> I think this is fine as a last chance handler. If we do need pre-init and post-exit logging, ie things come out to this output, we can re-evaluate and move the defaultStream destructor later or have some pre-init logging functionality. This seems good for reliably getting bug reports but should rarely be needed. If you find otherwise, please file an RFE.
Thank you Coleen.
Thanks for the approval! David wanted to have some changes though, therefore I need to reform the patch a bit.
In case you have not been following this really long review thread, this RFE has been triggered by an actual problem David had, where NMT found a C-heap corruption and tried to tell him but fell over tty=NULL during reporting.
Cheers, THomas
-------------
PR: https://git.openjdk.org/jdk/pull/9874
More information about the hotspot-dev
mailing list