Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 1213:6deeaebad47a
6902182: 4/4 Starting with jdwp agent should not incur performance penalty
Summary: Rename can_post_exceptions support to can_post_on_exceptions. Add support for should_post_on_exceptions flag to permit per JavaThread optimizations.
Reviewed-by: never, kvn, dcubed
Contributed-by: tom.deneau@amd.com
author | dcubed |
---|---|
date | Mon, 01 Feb 2010 17:35:05 -0700 |
parents | 7b0e9cba0307 |
children | c8a467bf56ad |
comparison
equal
deleted
inserted
replaced
1196:f3345b7b01b4 | 1213:6deeaebad47a |
---|---|
1 /* | 1 /* |
2 * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1997-2010 Sun Microsystems, Inc. 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. |
1171 _exception_oop = NULL; | 1171 _exception_oop = NULL; |
1172 _exception_pc = 0; | 1172 _exception_pc = 0; |
1173 _exception_handler_pc = 0; | 1173 _exception_handler_pc = 0; |
1174 _exception_stack_size = 0; | 1174 _exception_stack_size = 0; |
1175 _jvmti_thread_state= NULL; | 1175 _jvmti_thread_state= NULL; |
1176 _should_post_on_exceptions_flag = JNI_FALSE; | |
1176 _jvmti_get_loaded_classes_closure = NULL; | 1177 _jvmti_get_loaded_classes_closure = NULL; |
1177 _interp_only_mode = 0; | 1178 _interp_only_mode = 0; |
1178 _special_runtime_exit_condition = _no_async_condition; | 1179 _special_runtime_exit_condition = _no_async_condition; |
1179 _pending_async_exception = NULL; | 1180 _pending_async_exception = NULL; |
1180 _is_compiling = false; | 1181 _is_compiling = false; |