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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 15
    • 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.

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

              Created:
              Updated:
              Resolved: