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

[GenShen] Assertion "used cannot exceed regions" with TestAllocObjects & TestDynamicSoftMaxHeapSize

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • gc

      Reported by Martin Doerr:

      gc/shenandoah/TestAllocObjects.java#generational
      gc/shenandoah/TestDynamicSoftMaxHeapSize.java#generational
      # Internal Error src/hotspot/share/gc/shenandoah/shenandoahGeneration.cpp:664), pid=18434, tid=29955
      # assert(is_global() || ShenandoahHeap::heap()->is_full_gc_in_progress() || (_used + _humongous_waste <= _affiliated_region_count * ShenandoahHeapRegion::region_size_bytes())) failed: used cannot exceed regions


      These assertions were seen on an intel Mac with the following stack snippet:
      V [libjvm.dylib+0x64f8b4] report_vm_error(char const*, int, char const*, char const*, ...)+0xb4
      V [libjvm.dylib+0x109818f] ShenandoahGeneration::increase_used(unsigned long)+0xef
      V [libjvm.dylib+0x109d9e0] ShenandoahHeap::increase_used(ShenandoahAllocRequest const&)+0x120
      V [libjvm.dylib+0x109f8fb] ShenandoahHeap::allocate_memory(ShenandoahAllocRequest&, bool)+0x1cb
      V [libjvm.dylib+0x109f6dc] ShenandoahHeap::allocate_new_tlab(unsigned long, unsigned long, unsigned long*)+0x3c
       

            kdnilsen Kelvin Nilsen
            ysr Y. Ramakrishna
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: