663 static void os_exception_wrapper(java_call_t f, JavaValue* value, methodHandle* method, JavaCallArguments* args, Thread* thread); |
663 static void os_exception_wrapper(java_call_t f, JavaValue* value, methodHandle* method, JavaCallArguments* args, Thread* thread); |
664 |
664 |
665 // On Windows this will create an actual minidump, on Linux/Solaris it will simply check core dump limits |
665 // On Windows this will create an actual minidump, on Linux/Solaris it will simply check core dump limits |
666 static void check_or_create_dump(void* exceptionRecord, void* contextRecord, char* buffer, size_t bufferSize); |
666 static void check_or_create_dump(void* exceptionRecord, void* contextRecord, char* buffer, size_t bufferSize); |
667 |
667 |
|
668 // Get the default path to the core file |
|
669 // Returns the length of the string |
|
670 static int get_core_path(char* buffer, size_t bufferSize); |
|
671 |
668 // JVMTI & JVM monitoring and management support |
672 // JVMTI & JVM monitoring and management support |
669 // The thread_cpu_time() and current_thread_cpu_time() are only |
673 // The thread_cpu_time() and current_thread_cpu_time() are only |
670 // supported if is_thread_cpu_time_supported() returns true. |
674 // supported if is_thread_cpu_time_supported() returns true. |
671 // They are not supported on Solaris T1. |
675 // They are not supported on Solaris T1. |
672 |
676 |