RFR: 8366118: DontCompileHugeMethods is not respected with -XX:-TieredCompilation [v3]

Igor Veresov iveresov at openjdk.org
Wed Aug 27 16:29:45 UTC 2025


On Wed, 27 Aug 2025 09:01:28 GMT, Man Cao <manc at openjdk.org> wrote:

>> Hi,
>> 
>> Could anyone review this change that fixes https://bugs.openjdk.org/browse/JDK-8366118? When this bug happens, it is difficult or almost impossible to debug due to the lack of stack trace, hs-err log or core dump. Fortunately we are also experimenting with sigaltstack for https://bugs.openjdk.org/browse/JDK-8364654, and it helped immensely to identify the root cause.
>> 
>> I will also try adding a test case for DontCompileHugeMethod under -XX:-TieredCompilation.
>> 
>> -Man
>
> Man Cao has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use List.of in test

Seems reasonable

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

Marked as reviewed by iveresov (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26932#pullrequestreview-3160685337


More information about the hotspot-compiler-dev mailing list