equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2008, 2018, 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. |
45 #include "runtime/mutexLocker.hpp" |
45 #include "runtime/mutexLocker.hpp" |
46 #include "runtime/osThread.hpp" |
46 #include "runtime/osThread.hpp" |
47 #include "runtime/sharedRuntime.hpp" |
47 #include "runtime/sharedRuntime.hpp" |
48 #include "runtime/stubRoutines.hpp" |
48 #include "runtime/stubRoutines.hpp" |
49 #include "runtime/timer.hpp" |
49 #include "runtime/timer.hpp" |
|
50 #include "utilities/debug.hpp" |
50 #include "utilities/events.hpp" |
51 #include "utilities/events.hpp" |
51 #include "utilities/vmError.hpp" |
52 #include "utilities/vmError.hpp" |
52 |
53 |
53 // put OS-includes here |
54 // put OS-includes here |
54 # include <sys/types.h> |
55 # include <sys/types.h> |
308 } else { |
309 } else { |
309 // Ignoring SIGPIPE/SIGXFSZ - see bugs 4229104 or 6499219 |
310 // Ignoring SIGPIPE/SIGXFSZ - see bugs 4229104 or 6499219 |
310 return true; |
311 return true; |
311 } |
312 } |
312 } |
313 } |
|
314 |
|
315 #ifdef CAN_SHOW_REGISTERS_ON_ASSERT |
|
316 if ((sig == SIGSEGV || sig == SIGBUS) && info != NULL && info->si_addr == g_assert_poison) { |
|
317 handle_assert_poison_fault(ucVoid, info->si_addr); |
|
318 return 1; |
|
319 } |
|
320 #endif |
313 |
321 |
314 JavaThread* thread = NULL; |
322 JavaThread* thread = NULL; |
315 VMThread* vmthread = NULL; |
323 VMThread* vmthread = NULL; |
316 if (os::Linux::signal_handlers_are_installed) { |
324 if (os::Linux::signal_handlers_are_installed) { |
317 if (t != NULL ){ |
325 if (t != NULL ){ |