RFR: 8308094: Add a compilation timeout flag to catch long running compilations [v11]
Manuel Hässig
mhaessig at openjdk.org
Tue Aug 19 17:31:58 UTC 2025
On Tue, 19 Aug 2025 16:38:00 GMT, Dean Long <dlong at openjdk.org> wrote:
>> Manuel Hässig has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Print timeout properly
>> - Use static buffer for method name
>
> src/hotspot/os/linux/compilerThreadTimeout_linux.cpp line 47:
>
>> 45: char method_name_buf[SIZE];
>> 46: task->method()->name_and_sig_as_C_string(method_name_buf, SIZE);
>> 47: assert(false, "compile task %d (%s) timed out after " INTX_FORMAT " ms",
>
> Can we use %zd here? INTX_FORMAT was removed in JDK-8346990.
Yes, 64738e2 fixes this.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26023#discussion_r2285892747
More information about the hotspot-dev
mailing list