comparison src/share/vm/runtime/os.hpp @ 2204:63d374c54045

7014918: Improve core/minidump handling in Hotspot Summary: Added Minidump support on Windows, enabled large page core dumps when coredump_filter is present and writing out path/rlimit for core dumps. Reviewed-by: poonam, dsamersoff, sla, coleenp
author ctornqvi
date Wed, 09 Feb 2011 11:08:10 +0100
parents b92c45f2bc75
children 850b2295a494 da091bb67459
comparison
equal deleted inserted replaced
2203:5197f3d713a1 2204:63d374c54045
1 /* 1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
612 static void init_random(long initval); // initialize random sequence 612 static void init_random(long initval); // initialize random sequence
613 613
614 // Structured OS Exception support 614 // Structured OS Exception support
615 static void os_exception_wrapper(java_call_t f, JavaValue* value, methodHandle* method, JavaCallArguments* args, Thread* thread); 615 static void os_exception_wrapper(java_call_t f, JavaValue* value, methodHandle* method, JavaCallArguments* args, Thread* thread);
616 616
617 // On Windows this will create an actual minidump, on Linux/Solaris it will simply check core dump limits
618 static void check_or_create_dump(void* exceptionRecord, void* contextRecord, char* buffer, size_t bufferSize);
619
617 // JVMTI & JVM monitoring and management support 620 // JVMTI & JVM monitoring and management support
618 // The thread_cpu_time() and current_thread_cpu_time() are only 621 // The thread_cpu_time() and current_thread_cpu_time() are only
619 // supported if is_thread_cpu_time_supported() returns true. 622 // supported if is_thread_cpu_time_supported() returns true.
620 // They are not supported on Solaris T1. 623 // They are not supported on Solaris T1.
621 624