Skip to content

Large CPU usage increase with Java 21 #182

@MichaelPluessErni

Description

@MichaelPluessErni

When switching from Java 17 to Java 21 we noticed a big increase in CPU usage on our Google Cloud instances.

Image Image

The increased usage disappeared again when we disabled the Kubernetes Kit.

Apparently, the serialization process of the Kubernetes Kit uses much more computing power with Java 21 than with Java 17.

The versions we are using:

spring-boot: 3.4.4
vaadin: 24.6.7
kubernetes-kit-starter: 2.4.1
kubernetes: 1.31

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