RFR: 8319850: PrintInlining should print which methods are late inlines [v14]
theoweidmannoracle
duke at openjdk.org
Mon Dec 9 08:17:28 UTC 2024
On Mon, 25 Nov 2024 21:07:40 GMT, Johan Sjölen <jsjolen 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.
>
>> > 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.
@jdksjolen Could you take a look at the new memory management?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21899#issuecomment-2527221145
More information about the hotspot-compiler-dev
mailing list