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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 15
    • 17
    • hotspot
    • gc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: