RFR: JDK-8292351: tty should always live
Johan Sjölén
duke at openjdk.org
Tue Aug 16 13:36:18 UTC 2022
On Tue, 16 Aug 2022 07:34:41 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> > > The goal should be to replace tty with UL
> >
> >
> > UL has the same problems. UL is configured by argument parsing, so prior to that you can't log. And at some point UL is shutdown, and after that you can't log either.
>
> UL has even more problems. You also cannot use it in signal handlers, and not in subsystems that UL itself uses unless you are really sure you know what you do. For instance, anything below os::malloc cannot use UL (including NMT).
To be clear, I said:
>The goal should be to replace tty with UL *in as many cases as possible*.
In other words, tty should be used when UL cannot be used. Therefore this change is good, because it makes tty viable in more places where UL is not viable.
-------------
PR: https://git.openjdk.org/jdk/pull/9874
More information about the hotspot-dev
mailing list