Skip to content

Avoid costly stack walk on every task start in AxonTimeLimitedTask#4635

Open
hjohn wants to merge 1 commit into
mainfrom
enhancement/avoid-stack-walk-timeout-task
Open

Avoid costly stack walk on every task start in AxonTimeLimitedTask#4635
hjohn wants to merge 1 commit into
mainfrom
enhancement/avoid-stack-walk-timeout-task

Avoid costly stack walk on every task start in AxonTimeLimitedTask

41f7e85
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 5, 2026 in 1m 2s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 175 in messaging/src/main/java/org/axonframework/messaging/core/timeout/AxonTimeLimitedTask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this condition so that it does not always evaluate to "true"

See more on https://sonarcloud.io/project/issues?id=AxonIQ_AxonFramework&issues=AZ6XCFBAIX_cXiZBiE1u&open=AZ6XCFBAIX_cXiZBiE1u&pullRequest=4635

Check warning on line 77 in messaging/src/main/java/org/axonframework/messaging/core/timeout/AxonTimeLimitedTask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Annotate the parameter with @javax.annotation.Nullable in constructor declaration, or make sure that null can not be passed as argument.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_AxonFramework&issues=AZ6XCFBAIX_cXiZBiE1v&open=AZ6XCFBAIX_cXiZBiE1v&pullRequest=4635

Check warning on line 136 in messaging/src/main/java/org/axonframework/messaging/core/timeout/AxonTimeLimitedTask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Annotate the parameter with @javax.annotation.Nullable in constructor declaration, or make sure that null can not be passed as argument.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_AxonFramework&issues=AZ6XCFBAIX_cXiZBiE1w&open=AZ6XCFBAIX_cXiZBiE1w&pullRequest=4635