Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defer StringHttpMessageConverter Charset.availableCharsets() call [SPR-15502] #20061

Closed
spring-projects-issues opened this issue May 2, 2017 · 1 comment
Assignees
Labels
in: web type: enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented May 2, 2017

Phil Webb opened SPR-15502 and commented

The StringHttpMessageConverter calls Charset.availableCharsets() which can be quite an expensive thing to do on startup. Switching it to obtain it on the first call may help improve startup times a little.


Affects: 4.3.8

Referenced from: commits 90477b4, ee40310

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented May 2, 2017

Phil Webb commented

Something like this: philwebb@29594a7

@spring-projects-issues spring-projects-issues added type: enhancement in: web labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.3.9 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants