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

G1: Remove redundant checks in check_obj_during_refinement

XMLWordPrintable

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

      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`
      ```

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

              Created:
              Updated:
              Resolved: