RFR (T) 8214004: Missing space between compiler thread name and task info in hs_err
Zhengyu Gu
zgu at redhat.com
Fri Nov 16 20:02:29 UTC 2018
Looks good and trivial.
Thanks,
-Zhengyu
On 11/16/18 12:06 PM, Aleksey Shipilev wrote:
> RFE:
> https://bugs.openjdk.java.net/browse/JDK-8214004
>
> Compiler thread name is actually "CompilerThread0" here:
>
> Threads with active compile tasks:
> C2 CompilerThread01391 b sun.nio.cs.StandardCharsets$Aliases::init (6328 bytes)
>
> Trivial fix:
>
> diff -r dd2e91ddf44d -r 85d67a2961a2 src/hotspot/share/runtime/thread.cpp
> --- a/src/hotspot/share/runtime/thread.cpp Fri Nov 16 17:23:08 2018 +0100
> +++ b/src/hotspot/share/runtime/thread.cpp Fri Nov 16 18:05:06 2018 +0100
> @@ -4691,6 +4691,7 @@
> CompileTask* task = ct->task();
> if (task != NULL) {
> thread->print_name_on_error(st, buf, buflen);
> + st->print(" ");
> task->print(st, NULL, true, true);
> }
> }
>
> Testing: eyeballing hs_errs
>
> Thanks,
> -Aleksey
>
More information about the hotspot-dev
mailing list