Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/os.hpp @ 6200:65906dc96aa1
7129724: MAC: Core file location is wrong in crash report
Summary: Updated core path location to reflect macosx default
Reviewed-by: dholmes, kamg
author | mikael |
---|---|
date | Tue, 03 Jul 2012 17:35:00 -0700 |
parents | d2a62e0f25eb |
children | 957c266d8bc5 716e6ef4482a |
comparison
equal
deleted
inserted
replaced
6199:3f1ab0c19c30 | 6200:65906dc96aa1 |
---|---|
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 |