Question: Could hardware problems cause JIT deoptimization?
Vladimir Kozlov
vladimir.kozlov at oracle.com
Mon Nov 10 17:08:22 UTC 2025
You can use -Xlog:deoptimization=debug flag to see reasons for
deoptimization.
Is hardware configuration the same? Or that server has more cores? Which
could explain more deoptimized frames.
Regards,
Vladimir K
On 11/10/25 4:00 AM, Andrew Haley wrote:
> On 10/11/2025 08:12, 星晴 wrote:
>> We have deployed the same application (Gravitee Gateway 3.5.16) on
>> multiple servers with the same software configuration. However, when
>> capturing flame graphs, we observed significantly different levels of
>> JIT deoptimization across machines. On one server, the percentage of
>> deoptimized frames was as high as 40%.
>
>> So my question is: the high deoptimization rate is caused by hardware
>> problems?
>
> Almost by definition, hardware problems can cause anything. But some
> profiling can cause deoptimization when it rewrites bytecodes. For
> example, async-profiler can do it if you use method tracing. So I'd
> investigate this possibility first.
>
More information about the hotspot-compiler-dev
mailing list