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

Add a Java option to work around a major performance regression in JDK 17 #2110

Merged

Conversation

JonathanLennox
Copy link
Member

There was a rewrite of the Java networking stack in Java 13 which made it impossible to concurrently send UDP from multiple threads on the same DatagramSocket. See https://bugs.openjdk.org/browse/JDK-8303616. This Java option causes Java to use its old DatagramSocket implementation.

Note that unfortunately this workaround does not work in Java 18 and later.

…K 17.

There was a rewrite of the Java networking stack in Java 13 which made
it impossible to concurrently send UDP from multiple threads on the
same DatagramSocket.  See https://bugs.openjdk.org/browse/JDK-8303616.
This Java option causes Java to use its old DatagramSocket implementation.

Note that unfortunately this workaround does not work in Java 18 and later.
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.22%. Comparing base (74e5040) to head (0ae71f2).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2110   +/-   ##
=========================================
  Coverage     44.22%   44.22%           
  Complexity     1939     1939           
=========================================
  Files           340      340           
  Lines         18906    18906           
  Branches       2612     2612           
=========================================
  Hits           8361     8361           
  Misses         9676     9676           
  Partials        869      869           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74e5040...0ae71f2. Read the comment docs.

@JonathanLennox JonathanLennox merged commit 03b8c3b into jitsi:master Mar 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants