RFR: 8319850: PrintInlining should print which methods are late inlines [v14]
Johan Sjölen
jsjolen at openjdk.org
Mon Nov 25 21:10:16 UTC 2024
On Mon, 25 Nov 2024 19:33:58 GMT, Dean Long <dlong at openjdk.org> wrote:
> > Do you think I should introduce an explicit synchronization mechanism to ensure the formatting is still correct with multiple compile threads?
>
> Yes, we could try grabbing the tty lock in dump(), but in the past I think there were sometimes problems with that approach, which is why there were places where we print everything to a stringStream first.
Don't use `ttyLock`, we really want to get rid of that mechanism. The best would be to port the output to UL, but if that's not possible use a `stringStream` as Dean said.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21899#issuecomment-2499035914
More information about the hotspot-compiler-dev
mailing list