JDK-8216366 : Add rationale to PER_CPU_SHARES define
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2019-01-08
  • Updated: 2019-01-15
  • Resolved: 2019-01-08
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 13
13 b03Fixed
Related Reports
Relates :  
The reason why PER_CPU_SHARES has been abstracted in the JVM to 1024 seems somewhat arbitrary. It resulted in this thread being raised:


A bit of rationale should be added to the code to explain this situation.
review thread: http://mail.openjdk.java.net/pipermail/hotspot-dev/2019-January/036137.html