Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Avoid re-retrieval of @ResponseStatus annotation for each request [SPR-15227] #19792
It is better to calculate it when constructing the MethodParameter.
Affects: 4.3.7, 5.0 M4
Brian Clozel commented
This turns out to be a more general issue with
If that doesn't work out, we can always solve that at the
According to Violeta Georgieva, this performance issue shows even when the annotation is not present on the handler method, which means that the local cache should also cache null values (i.e. the annotation is not present).
Juergen Hoeller commented