- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
  P4                     
     - 
    24
 
- 
        b27
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8350268 | 21.0.8-oracle | Axel Boldt-Christmas | P4 | Resolved | Fixed | b01 | 
| JDK-8354271 | 21.0.8 | Paul Hohensee | P4 | Resolved | Fixed | b01 | 
                    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)
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)
- backported by
 - 
                    
JDK-8350268 ZGC: Another division by zero in rule_major_allocation_rate
-         
     - Resolved
 
 -         
 - 
                    
JDK-8354271 ZGC: Another division by zero in rule_major_allocation_rate
-         
     - Resolved
 
 -         
 
- relates to
 - 
                    
JDK-8339648 ZGC: Division by zero in rule_major_allocation_rate
-         
     - Resolved
 
 -         
 
- links to
 - 
                    
        
        Commit(master)
        openjdk/jdk21u-dev/e718378c
    
 - 
                    
        
        Commit(master)
        openjdk/jdk/63af2f42
    
 - 
                    
        
        Review(master)
        openjdk/jdk21u-dev/1602
    
 - 
                    
        
        Review(master)
        openjdk/jdk/22228
    
 
             (2 links to)