JDK-8275162 : Use varargs in 'def' macros in mutexLocker.cpp
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-10-12
  • Updated: 2021-11-01
  • Resolved: 2021-10-26
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 b21Fixed
Related Reports
Relates :  
Relates :  
Description
(Changed the description and title).  Using varargs in the def macro would allow for passing the default parameter for allow_vm_block to the Mutex constructor.  The default is true for no safepoint checking locks and false for safepoint checking locks.  This change would point out which safepoint checking ranked locks pass 'true', which should be an exception but there are currently too many.  Some likely pass true because of copy/paste when the locks were added.
Comments
Changeset: 71d593ed Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2021-10-26 14:33:22 +0000 URL: https://git.openjdk.java.net/jdk/commit/71d593ede6e1d0a50798d4ba6bfbd78aa65ae7d8
26-10-2021