We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Jetty version 10.0.x
Description Most HTTP2Stream have no content, and allocating an ArrayDeque to never use it has proven to be an allocation hotspot.
HTTP2Stream
ArrayDeque
Since it's always accessed inside a lock anyway, lazily allocate it.
The text was updated successfully, but these errors were encountered:
Fixes #6250 - Lazily allocate HTTP2Stream data queue.
8c1a0c5
Now the data queue is lazily allocated. Signed-off-by: Simone Bordet <[email protected]>
df1f2e5
Updates after review. Signed-off-by: Simone Bordet <[email protected]>
54e4761
sbordet
Successfully merging a pull request may close this issue.
Jetty version
10.0.x
Description
Most
HTTP2Stream
have no content, and allocating anArrayDeque
to never use it has proven to be an allocation hotspot.Since it's always accessed inside a lock anyway, lazily allocate it.
The text was updated successfully, but these errors were encountered: