src/share/vm/runtime/sharedRuntime.cpp

changeset 9301
d47844b56aaf
parent 8773
1eaa9a72d705
child 9305
278ac6d2b59e
equal deleted inserted replaced
9300:b3dd617b29cf 9301:d47844b56aaf
1 /* 1 /*
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 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.
756 oop exception_oop = InstanceKlass::cast(k)->allocate_instance(CHECK); 756 oop exception_oop = InstanceKlass::cast(k)->allocate_instance(CHECK);
757 Handle exception (thread, exception_oop); 757 Handle exception (thread, exception_oop);
758 if (StackTraceInThrowable) { 758 if (StackTraceInThrowable) {
759 java_lang_Throwable::fill_in_stack_trace(exception); 759 java_lang_Throwable::fill_in_stack_trace(exception);
760 } 760 }
761 // Increment counter for hs_err file reporting
762 Atomic::inc(&Exceptions::_stack_overflow_errors);
761 throw_and_post_jvmti_exception(thread, exception); 763 throw_and_post_jvmti_exception(thread, exception);
762 JRT_END 764 JRT_END
763 765
764 address SharedRuntime::continuation_for_implicit_exception(JavaThread* thread, 766 address SharedRuntime::continuation_for_implicit_exception(JavaThread* thread,
765 address pc, 767 address pc,

mercurial