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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 15
    • Component/s: hotspot
    • gc
    • b14

      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.

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

              Created:
              Updated:
              Resolved: