equal
deleted
inserted
replaced
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 |