JDK-8242088 : Replace mutually exclusive lists with concurrent alternatives
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-04-03
  • Updated: 2024-10-17
  • Resolved: 2020-06-05
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 15
15 b27Fixed
Related Reports
Blocks :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The basic JFR data structure used to keep memory buffers are currently doubly-linked and are accessed mutually exclusive on writes. This can lead to stalls in certain situations where the lists are heavily traversed for space. This is especially the case when writing larger-than thread local sized events, which are rare in practice but there are currently some tests that provoke this situation. This can cause the VM to have to wait a long time to reach a safepoint.

A mostly concurrent, although not necessarily non-blocking, implementation could avoid this bottleneck and improve overall levels of concurrency.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/e51cdea8457e User: mgronlun Date: 2020-06-05 13:14:07 +0000
05-06-2020