spring-framework/spring-web
Arjen Poutsma 7f1062159e Copy HttpStatus::values to prevent allocation
Before this commit, HttpStatus::resolve used the values() method in its
logic. This causes a new array to be allocated for each invocation,
and results in memory overhead.

This commit makes a copy of the HttpStatus values array, and uses that
to resolve status codes.

Closes gh-26842
2021-04-22 15:39:03 +02:00
..
src Copy HttpStatus::values to prevent allocation 2021-04-22 15:39:03 +02:00
spring-web.gradle Add BlockHoundIntegration for spring-web 2021-03-22 21:18:48 +00:00