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

ZGC: Another division by zero in rule_major_allocation_rate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • gc
    • b27

        We are still running into this issue (ubsan is enabled in the build) :

        test compiler/uncommontrap/TestDeoptOOM.java#Z shows this on Linux x86_64

        jdk/src/hotspot/share/gc/z/zDirector.cpp:490:78: runtime error: division by zero
            #0 0x7fac474e0493 in rule_major_allocation_rate src/hotspot/share/gc/z/zDirector.cpp:490
            #1 0x7fac474e0493 in start_gc src/hotspot/share/gc/z/zDirector.cpp:836
            #2 0x7fac474e0493 in ZDirector::run_thread() src/hotspot/share/gc/z/zDirector.cpp:926
            #3 0x7fac4b04b698 in ZThread::run_service() src/hotspot/share/gc/z/zThread.cpp:29
            #4 0x7fac48707249 in ConcurrentGCThread::run() src/hotspot/share/gc/shared/concurrentGCThread.cpp:48
            #5 0x7fac4ab58bea in Thread::call_run() src/hotspot/share/runtime/thread.cpp:232
            #6 0x7fac4a17fd22 in thread_native_entry src/hotspot/os/linux/os_linux.cpp:858
            #7 0x7fac4f7dc6e9 in start_thread (/lib64/libpthread.so.0+0xa6e9) (BuildId: 938e42b7e407d175ee3ef9a89c038168101d330c)
            #8 0x7fac4ed0f58e in clone (/lib64/libc.so.6+0x11858e) (BuildId: 74f77bf013a66413c77197c121955e029c32d259)

              aboldtch Axel Boldt-Christmas
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: