Skip to content
New issue

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

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

Already on GitHub? # to your account

Jersey update from 3.1.8 to 3.1.9 performance regression when using the JVM http.proxyHost mechanism #5814

Closed
ripdajacker opened this issue Dec 3, 2024 · 2 comments

Comments

@ripdajacker
Copy link

This PR introduced the regression: #5749

The referenced fix introduces a map from java.util.URL to a Lock. That has the side effect of calling getInetAddress(url.host), which significantly impacts the performance if you are running the JVM with a proxy with -Dhttp.proxyHost and -Dhttp.proxyPort.

Before the call to hashCode the JVM handled the proxy connection transparently.

@ripdajacker
Copy link
Author

ripdajacker commented Dec 3, 2024

Fixed in: #5815

@jansupol
Copy link
Contributor

Fixed by #5794

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants