< prev index next >

src/hotspot/share/utilities/vmError.cpp


1749     case 14: crash_with_segfault(); break;                                                                                           
1750     case 15: crash_with_sigfpe(); break;                                                                                             
1751     case 16: {                                                                                                                       
1752       ThreadsListHandle tlh;                                                                                                         
1753       fatal("Force crash with an active ThreadsListHandle.");                                                                        
1754     }                                                                                                                                
1755     case 17: {                                                                                                                       
1756       ThreadsListHandle tlh;                                                                                                         
1757       {                                                                                                                              
1758         ThreadsListHandle tlh2;                                                                                                      
1759         fatal("Force crash with a nested ThreadsListHandle.");                                                                       
1760       }                                                                                                                              
1761     }                                                                                                                                
1762 
1763     default: tty->print_cr("ERROR: %d: unexpected test_num value.", how);                                                            
1764   }                                                                                                                                  
1765   tty->print_cr("VMError::controlled_crash: survived intentional crash. Did you suppress the assert?");                              
1766   ShouldNotReachHere();                                                                                                              
1767 }                                                                                                                                    
1768 #endif // !PRODUCT                                                                                                                   
                                                                                                                                     

1749     case 14: crash_with_segfault(); break;
1750     case 15: crash_with_sigfpe(); break;
1751     case 16: {
1752       ThreadsListHandle tlh;
1753       fatal("Force crash with an active ThreadsListHandle.");
1754     }
1755     case 17: {
1756       ThreadsListHandle tlh;
1757       {
1758         ThreadsListHandle tlh2;
1759         fatal("Force crash with a nested ThreadsListHandle.");
1760       }
1761     }
1762 
1763     default: tty->print_cr("ERROR: %d: unexpected test_num value.", how);
1764   }
1765   tty->print_cr("VMError::controlled_crash: survived intentional crash. Did you suppress the assert?");
1766   ShouldNotReachHere();
1767 }
1768 #endif // !PRODUCT
1769 
< prev index next >