Web Async responses force concurrentResult.toString() call [SPR-12253] #16867
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Ryszard Perkowski opened SPR-12253 and commented
I've been tracking CPU usage of my application and multiple times have I seen in thread dump whole response object string concatenation (toString() method called) taking a lot of CPU.
That string concatenation is forced by using
WebAsyncManager:348
logger.debug("Concurrent result value [" + concurrentResult + "]");
Since it's only for debug it should not be executed for other logging levels.
Pull request provided:
#652
Affects: 3.2.11, 4.0.7, 4.1 GA
Backported to: 4.0.8, 3.2.12
The text was updated successfully, but these errors were encountered: