Question: Could hardware problems cause JIT deoptimization?

Andrew Haley aph-open at littlepinkcloud.com
Mon Nov 10 12:00:32 UTC 2025


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.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the hotspot-compiler-dev mailing list