JDK-8273730 : WorkGangBarrierSync constructor unused
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-09-14
  • Updated: 2021-09-20
  • Resolved: 2021-09-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 18
18 b15Fixed
Related Reports
Relates :  
Description
-WorkGangBarrierSync::WorkGangBarrierSync(uint n_workers, const char* name)
-  : _monitor(Mutex::safepoint, name, Monitor::_safepoint_check_never),
-    _n_workers(n_workers), _n_completed(0), _should_reset(false), _aborted(false) {
-}

Nothing uses this constructor and it uses the do-not-know-what-it-means safepoint ranked lock.
Comments
Changeset: 8974b958 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2021-09-14 13:17:27 +0000 URL: https://git.openjdk.java.net/jdk/commit/8974b958866bf43d2639114b764bccbae941943f
14-09-2021