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

[ubsan] g1Analytics.cpp:167:48: runtime error: division by zero

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • hotspot
    • gc
    • ppc
    • aix

      When running with ubsan - enabled binaries on AIX , we see the following issue when running HS jtreg test gc/g1/humongousObjects/TestNoAllocationsInHRegions.java :

      /srcdir/jdk/src/hotspot/share/gc/g1/g1Analytics.cpp:167:48: runtime error: division by zero
          #0 0x900000011daeb78 in G1Analytics::compute_pause_time_ratios(double, double) make/hotspot/src/hotspot/share/gc/g1/g1Analytics.cpp:167
          #1 0x900000011fe6cc8 in G1Policy::update_gc_pause_time_ratios(G1GCPauseType, double, double) make/hotspot/src/hotspot/share/gc/g1/g1Policy.cpp:1349
          #2 0x900000011fe6cc8 in G1Policy::record_pause(G1GCPauseType, double, double, bool) make/hotspot/src/hotspot/share/gc/g1/g1Policy.cpp:1369
          #3 0x900000011fe6cc8 in G1Policy::record_concurrent_mark_cleanup_end(bool) make/hotspot/src/hotspot/share/gc/g1/g1Policy.cpp:1328
          #4 0x900000011fe60a0 in G1ConcurrentMark::cleanup() make/hotspot/src/hotspot/share/gc/g1/g1ConcurrentMark.cpp:1548
          #5 0x900000011fe5c5c in VM_G1PauseCleanup::work() make/hotspot/src/hotspot/share/gc/g1/g1VMOperations.cpp:172
          #6 0x900000011fd0148 in VM_G1PauseConcurrent::doit() make/hotspot/src/hotspot/share/gc/g1/g1VMOperations.cpp:150
          #7 0x9000000117c0598 in VM_Operation::evaluate() make/hotspot/src/hotspot/share/runtime/vmOperations.cpp:74
          #8 0x9000000117c0114 in VMThread::evaluate_operation(VM_Operation*) make/hotspot/src/hotspot/share/runtime/vmThread.cpp:282
          #9 0x9000000117bf788 in VMThread::inner_execute(VM_Operation*) make/hotspot/src/hotspot/share/runtime/vmThread.cpp:426
          #10 0x900000012c7d8f0 in VMThread::loop() make/hotspot/src/hotspot/share/runtime/vmThread.cpp:492
          #11 0x900000012c7d55c in VMThread::run() make/hotspot/src/hotspot/share/runtime/vmThread.cpp:176
          #12 0x9000000117a2d50 in Thread::call_run() make/hotspot/src/hotspot/share/runtime/thread.cpp:231
          #13 0x9000000117a1df8 in thread_native_entry(Thread*) make/hotspot/src/hotspot/os/aix/os_aix.cpp:683
          #14 0x900000000562048 (/usr/lib/libpthread.a+0x100004048)

            Unassigned Unassigned
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: