JDK-8166970 : Adapt mutex padding according to DEFAULT_CACHE_LINE_SIZE
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-09-30
  • Updated: 2021-03-25
  • Resolved: 2016-10-18
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 9
9 b143Fixed
Related Reports
Relates :  
Relates :  
Description
Current implementation of mutex size padding assumes that cache lines are 64 Bytes. There's a platform dependent define "DEFAULT_CACHE_LINE_SIZE" available which should be used. The purpose of this padding is to avoid false sharing.

Comments
webrev: http://cr.openjdk.java.net/~mdoerr/8166970_mutex_padding/webrev.00/
03-10-2016

FC Extension Request Justification: This is a tiny change needed for the s390x port. Risk: Low. Shared code changes are small. They should not affect any other platform. Proposed Integration Date: As soon as reviewed and approved. Remaining work: only review and integration activity is left
30-09-2016

Changing from a bug -> RFE.
30-09-2016