Test: test/hotspot/jtreg/runtime/HiddenClasses/NestedHidden.java
BT:
/home/amit/jdk/src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp:207:44: runtime error: division by zero
#0 0x3ff9d328687 in target_heap_capacity /home/amit/jdk/src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp:207
#1 0x3ff9d328687 in G1HeapSizingPolicy::full_collection_resize_amount(bool&) /home/amit/jdk/src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp:230
#2 0x3ff9d204d87 in G1CollectedHeap::resize_heap_if_necessary() /home/amit/jdk/src/hotspot/share/gc/g1/g1CollectedHeap.cpp:869
#3 0x3ff9d24572f in G1ConcurrentMark::remark() /home/amit/jdk/src/hotspot/share/gc/g1/g1ConcurrentMark.cpp:1461
#4 0x3ff9d4030cb in VM_G1PauseConcurrent::doit() /home/amit/jdk/src/hotspot/share/gc/g1/g1VMOperations.cpp:151
#5 0x3ff9ee45643 in VM_Operation::evaluate() /home/amit/jdk/src/hotspot/share/runtime/vmOperations.cpp:75
#6 0x3ff9ee76877 in VMThread::evaluate_operation(VM_Operation*) /home/amit/jdk/src/hotspot/share/runtime/vmThread.cpp:283
#7 0x3ff9ee7807b in VMThread::inner_execute(VM_Operation*) /home/amit/jdk/src/hotspot/share/runtime/vmThread.cpp:427
#8 0x3ff9ee788a9 in VMThread::loop() /home/amit/jdk/src/hotspot/share/runtime/vmThread.cpp:493
#9 0x3ff9ee788a9 in VMThread::loop() /home/amit/jdk/src/hotspot/share/runtime/vmThread.cpp:478
#10 0x3ff9ee78a81 in VMThread::run() /home/amit/jdk/src/hotspot/share/runtime/vmThread.cpp:177
#11 0x3ff9ebdabb1 in Thread::call_run() /home/amit/jdk/src/hotspot/share/runtime/thread.cpp:232
#12 0x3ff9e4c0b8f in thread_native_entry /home/amit/jdk/src/hotspot/os/linux/os_linux.cpp:849
#13 0x3ffa1e96295 in start_thread nptl/pthread_create.c:442
#14 0x3ffa1f0ff8d (/lib/s390x-linux-gnu/libc.so.6+0x10ff8d)
BT:
/home/amit/jdk/src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp:207:44: runtime error: division by zero
#0 0x3ff9d328687 in target_heap_capacity /home/amit/jdk/src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp:207
#1 0x3ff9d328687 in G1HeapSizingPolicy::full_collection_resize_amount(bool&) /home/amit/jdk/src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp:230
#2 0x3ff9d204d87 in G1CollectedHeap::resize_heap_if_necessary() /home/amit/jdk/src/hotspot/share/gc/g1/g1CollectedHeap.cpp:869
#3 0x3ff9d24572f in G1ConcurrentMark::remark() /home/amit/jdk/src/hotspot/share/gc/g1/g1ConcurrentMark.cpp:1461
#4 0x3ff9d4030cb in VM_G1PauseConcurrent::doit() /home/amit/jdk/src/hotspot/share/gc/g1/g1VMOperations.cpp:151
#5 0x3ff9ee45643 in VM_Operation::evaluate() /home/amit/jdk/src/hotspot/share/runtime/vmOperations.cpp:75
#6 0x3ff9ee76877 in VMThread::evaluate_operation(VM_Operation*) /home/amit/jdk/src/hotspot/share/runtime/vmThread.cpp:283
#7 0x3ff9ee7807b in VMThread::inner_execute(VM_Operation*) /home/amit/jdk/src/hotspot/share/runtime/vmThread.cpp:427
#8 0x3ff9ee788a9 in VMThread::loop() /home/amit/jdk/src/hotspot/share/runtime/vmThread.cpp:493
#9 0x3ff9ee788a9 in VMThread::loop() /home/amit/jdk/src/hotspot/share/runtime/vmThread.cpp:478
#10 0x3ff9ee78a81 in VMThread::run() /home/amit/jdk/src/hotspot/share/runtime/vmThread.cpp:177
#11 0x3ff9ebdabb1 in Thread::call_run() /home/amit/jdk/src/hotspot/share/runtime/thread.cpp:232
#12 0x3ff9e4c0b8f in thread_native_entry /home/amit/jdk/src/hotspot/os/linux/os_linux.cpp:849
#13 0x3ffa1e96295 in start_thread nptl/pthread_create.c:442
#14 0x3ffa1f0ff8d (/lib/s390x-linux-gnu/libc.so.6+0x10ff8d)