Skip to content

Spring4-jvm on the perf lab has some "suspiciously" long JIT compilation events #420

@franz1981

Description

@franz1981

See Spring4-jvm

Image

vs Quarkus3-jvm

Image

I've hit a similar problem in the past, see https://redhatperf.github.io/post/method-data-scalability/ where, in production, a Spring application overloaded by an big amount of load (which is our case with wrk during warmup) leave the JIT C2 threads in Spring to fight for CPU time competing with the tomcat http threads (same here?), causing the C2 compilations to take much longer and running the Java code in sub-optimal state (Tier 3), prone to "false sharing" issues.

See https://developers.redhat.com/articles/2023/09/29/how-we-solved-hotspot-performance-puzzle for a similar topic (although not due to contention).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions