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

G1: Remove redundant checks in check_obj_during_refinement

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • gc
    • b21

    Description

      In `check_obj_during_refinement`:

      ```
        assert(g1h->is_in_reserved(obj), ... // <- this can be strenghen to `is_in`
        
        HeapRegion* from = g1h->heap_region_containing(p);
        assert(from->is_in_reserved(p) || (from->is_humongous() ... // <- this can be replaced by `is_in`
      ```

      Attachments

        Issue Links

          Activity

            People

              ayang Albert Yang
              ayang Albert Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: