RFR: 8366118: DontCompileHugeMethods is not respected with -XX:-TieredCompilation
Jiangli Zhou
jiangli at openjdk.org
Mon Aug 25 20:41:38 UTC 2025
On Mon, 25 Aug 2025 19:38:23 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
I looked at the internal change on JDK 21 and suggested to send the change for review in OpenJDK to get feedback from compiler-dev, as I have a couple of questions for the change. I'll post my questions as review comments to the PR as well.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26932#issuecomment-3221672961
More information about the hotspot-compiler-dev
mailing list