< prev index next >

src/share/vm/utilities/debug.hpp

Print this page
rev 13109 : imported patch move_pns


 204 NOT_PRODUCT(void test_error_handler();)
 205 
 206 // crash in a controlled way:
 207 // how can be one of:
 208 // 1,2 - asserts
 209 // 3,4 - guarantee
 210 // 5-7 - fatal
 211 // 8 - vm_exit_out_of_memory
 212 // 9 - ShouldNotCallThis
 213 // 10 - ShouldNotReachHere
 214 // 11 - Unimplemented
 215 // 12,13 - (not guaranteed) crashes
 216 // 14 - SIGSEGV
 217 // 15 - SIGFPE
 218 NOT_PRODUCT(void controlled_crash(int how);)
 219 
 220 // returns an address which is guaranteed to generate a SIGSEGV on read,
 221 // for test purposes, which is not NULL and contains bits in every word
 222 NOT_PRODUCT(void* get_segfault_address();)
 223 

 224 void pd_ps(frame f);
 225 void pd_obfuscate_location(char *buf, size_t buflen);
 226 
 227 class outputStream;
 228 void print_native_stack(outputStream* st, frame fr, Thread* t, char* buf, int buf_size);
 229 
 230 #endif // SHARE_VM_UTILITIES_DEBUG_HPP


 204 NOT_PRODUCT(void test_error_handler();)
 205 
 206 // crash in a controlled way:
 207 // how can be one of:
 208 // 1,2 - asserts
 209 // 3,4 - guarantee
 210 // 5-7 - fatal
 211 // 8 - vm_exit_out_of_memory
 212 // 9 - ShouldNotCallThis
 213 // 10 - ShouldNotReachHere
 214 // 11 - Unimplemented
 215 // 12,13 - (not guaranteed) crashes
 216 // 14 - SIGSEGV
 217 // 15 - SIGFPE
 218 NOT_PRODUCT(void controlled_crash(int how);)
 219 
 220 // returns an address which is guaranteed to generate a SIGSEGV on read,
 221 // for test purposes, which is not NULL and contains bits in every word
 222 NOT_PRODUCT(void* get_segfault_address();)
 223 
 224 class frame;
 225 void pd_ps(frame f);




 226 
 227 #endif // SHARE_VM_UTILITIES_DEBUG_HPP
< prev index next >