Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

[ANY23-464] Performance improvement for inner classes #171

Merged
merged 1 commit into from Apr 23, 2021
Merged

[ANY23-464] Performance improvement for inner classes #171

merged 1 commit into from Apr 23, 2021

Conversation

kamaci
Copy link
Member

@kamaci kamaci commented Apr 20, 2021

Declaring inner classes non-static causes performance issues due to GC at Java. They should be defined as static wherever it can.

You can see related conversation here: https://stackoverflow.com/questions/20380600/gc-performance-hit-for-inner-class-vs-static-nested-class

@HansBrende HansBrende merged commit 1efe1ff into apache:master Apr 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants