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

Man Cao manc at openjdk.org
Tue Sep 2 18:51:48 UTC 2025


On Fri, 29 Aug 2025 23:12:18 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
> 
>  - Merge branch 'master' into JDK-8366118-DontCompileHugeMethods
>  - Add -Xbatch to test
>  - Use List.of in test
>  - Add a jtreg test
>  - 8366118: DontCompileHugeMethods is not respected with -XX:-TieredCompilation

Could anyone give another approval on the latest change?

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

PR Comment: https://git.openjdk.org/jdk/pull/26932#issuecomment-3246433933


More information about the hotspot-compiler-dev mailing list