RFR: JDK-8329663: hs_err file event log entry for thread adding/removing should print current thread [v3]

David Holmes dholmes at openjdk.org
Tue Apr 9 07:56:14 UTC 2024


On Mon, 8 Apr 2024 07:56:22 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> Currently the entries for adding / exiting threads look like this :
>> 
>> Event: 81.296 Thread 0x00007fd8300c13b0 Thread added: 0x00007fd8300c13b0
>> 
>> Event: 81.296 Thread 0x00007fd954000fe0 Thread exited: 0x00007fd954000fe0
>> 
>> The hex number describing the thread is printed twice, this should be simplified or the current thread AND and added/exited thread could be printed.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   change output text back

Sorry I didn't get a chance to get back to this over the weekend and yesterday.

I would have preferred updated wording as it makes no sense to say "Thread A exited Thread B". The old message was correct when Thread B was the only one mentioned.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18627#issuecomment-2044370016


More information about the hotspot-runtime-dev mailing list