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

CMS assertions wrongly assume markFromRoots() succeeds.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 1.4.2_14
    • Fix Version/s: 1.4.2_18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b06
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Reviewing changes for 6409002 (part of 4615723) I noticed two assertions don't account for the return value of markFromRoots(). It would seem very unlikely, and only in a debug version, but there is a chance to incorrectly trigger an assertion.

        If this ever happens, the assertion will be "Collector state should have changed".

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kevinw Kevin Walls
                  Reporter:
                  kevinw Kevin Walls
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: