Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8254239

G1ConcurrentMark.hpp unnecessarily disables MSVC++ warning 4522.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 16
    • hotspot
    • gc
    • b11

    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.

      Attachments

        Issue Links

          Activity

            People

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: