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

MoveAndUpdateClosure::do_addr calls function with side-effects in an assert

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b14

      Description

      MoveAndUpdateClosure::do_addr calls calc_new_pointer in an assert, but that function has side effects. It calls PsParallelCompact::fill_blocks on the region containing the address and marks that region filled. This appears to be "harmless" in the sense that this is permitted to occur multiple times for a region. But this could have the effect of masking lack of region filling somewhere else for release builds.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ayang Albert Yang
              Reporter:
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: