JDK-8244340 : Handshake processing thread lacks yielding
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-05-04
  • Updated: 2020-12-16
  • Resolved: 2020-05-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 15
11.0.10-oracleFixed 15 b24Fixed
Description
There are some use-cases where the VM is run on UP or UP like environments. The spin without yield can in such situations cause severe performance problems.
The handshake processing thread will continue to spin even if the events needed for progress cannot (or have a low chans of) happen.
Comments
Fix request (11u) Goetz Lindenmaier asked me to downport this for parity with 11.0.11-oracle. I had to adapt the change https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-December/004405.html
11-12-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/67a435ce2dc2 User: rehn Date: 2020-05-14 17:42:33 +0000
14-05-2020

This topic came up on hotspot-dev@... http://mail.openjdk.java.net/pipermail/hotspot-dev/2020-April/041493.html and http://mail.openjdk.java.net/pipermail/hotspot-dev/2020-May/041652.html
04-05-2020