Skip to content

WebAsyncUtils could/should cache the reference to StandardServletAsyncWebRequest's constructor [SPR-10673] #15301

@spring-projects-issues

Description

@spring-projects-issues

Eric Vlaanderen opened SPR-10673 and commented

To avoid excessive use of reflection, WebAsyncUtils could/should cache the reference to StandardServletAsyncWebRequest's constructor.

We profiled a number of very simple http requests and found that 25% of the time is spent class loading in WebAsyncUtils.


Affects: 3.2.3

Referenced from: commits 9af1984, a0f8a89

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions