RFR: JDK-8310233: Linux: THP initialization is incorrect [v2]
Thomas Stuefe
stuefe at openjdk.org
Mon Jul 3 13:56:10 UTC 2023
On Mon, 3 Jul 2023 13:39:12 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> Okay. We are at initialization time, though; everything should still be single-threaded here. I dislike providing the log level twice, but LogTarget does not expose it.
>
> Wait, if I do this, I need to backport [8286180](https://bugs.openjdk.org/browse/JDK-8286180) before backporting this fix., right? :(
>
> Oh well, chances are this does not integrate cleanly anyway.
The more I think about this, the more doubts I have, sorry. Logging should not cost anything if disabled. But with your proposal, I pay for the construction of both LogMessage and NonInterleavingLogStream every time.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14739#discussion_r1250923170
More information about the hotspot-dev
mailing list