JDK-8254239 : G1ConcurrentMark.hpp unnecessarily disables MSVC++ warning 4522.
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-10-08
  • Updated: 2021-03-02
  • Resolved: 2021-02-22
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 17
17 b11Fixed
Related Reports
Relates :  
Description
JDK-8243326 eliminated the non-default copy constructor and copy assignment operators for G1TaskQueueEntry.  There were two assignment operators, for normal and volatile entries, which would have been triggering MSVC++ warning C4522 "multiple assignment operators specified".  However, that warning is disabled around the definition of that class.  When the assignment operators were removed, the warning suppression should have been removed too, but was overlooked.

Comments
Changeset: 26c1db90 Author: Andrey Vershinin <aver.shining@gmail.com> Committer: Kim Barrett <kbarrett@openjdk.org> Date: 2021-02-22 08:31:27 +0000 URL: https://git.openjdk.java.net/jdk/commit/26c1db90
22-02-2021