comparison src/share/vm/prims/jvmtiExport.hpp @ 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 98cd9901c161
children b4776199210f
comparison
equal deleted inserted replaced
1196:f3345b7b01b4 1213:6deeaebad47a
1 /* 1 /*
2 * Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1998-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.
64 static bool _can_walk_any_space; 64 static bool _can_walk_any_space;
65 65
66 JVMTI_SUPPORT_FLAG(can_get_source_debug_extension) 66 JVMTI_SUPPORT_FLAG(can_get_source_debug_extension)
67 JVMTI_SUPPORT_FLAG(can_maintain_original_method_order) 67 JVMTI_SUPPORT_FLAG(can_maintain_original_method_order)
68 JVMTI_SUPPORT_FLAG(can_post_interpreter_events) 68 JVMTI_SUPPORT_FLAG(can_post_interpreter_events)
69 JVMTI_SUPPORT_FLAG(can_post_exceptions) 69 JVMTI_SUPPORT_FLAG(can_post_on_exceptions)
70 JVMTI_SUPPORT_FLAG(can_post_breakpoint) 70 JVMTI_SUPPORT_FLAG(can_post_breakpoint)
71 JVMTI_SUPPORT_FLAG(can_post_field_access) 71 JVMTI_SUPPORT_FLAG(can_post_field_access)
72 JVMTI_SUPPORT_FLAG(can_post_field_modification) 72 JVMTI_SUPPORT_FLAG(can_post_field_modification)
73 JVMTI_SUPPORT_FLAG(can_post_method_entry) 73 JVMTI_SUPPORT_FLAG(can_post_method_entry)
74 JVMTI_SUPPORT_FLAG(can_post_method_exit) 74 JVMTI_SUPPORT_FLAG(can_post_method_exit)
91 JVMTI_SUPPORT_FLAG(should_post_monitor_wait) 91 JVMTI_SUPPORT_FLAG(should_post_monitor_wait)
92 JVMTI_SUPPORT_FLAG(should_post_monitor_waited) 92 JVMTI_SUPPORT_FLAG(should_post_monitor_waited)
93 JVMTI_SUPPORT_FLAG(should_post_data_dump) 93 JVMTI_SUPPORT_FLAG(should_post_data_dump)
94 JVMTI_SUPPORT_FLAG(should_post_garbage_collection_start) 94 JVMTI_SUPPORT_FLAG(should_post_garbage_collection_start)
95 JVMTI_SUPPORT_FLAG(should_post_garbage_collection_finish) 95 JVMTI_SUPPORT_FLAG(should_post_garbage_collection_finish)
96 JVMTI_SUPPORT_FLAG(should_post_on_exceptions)
96 97
97 // ------ the below maybe don't have to be (but are for now) 98 // ------ the below maybe don't have to be (but are for now)
98 // fixed conditions here ------------ 99 // fixed conditions here ------------
99 // any events can be enabled 100 // any events can be enabled
100 JVMTI_SUPPORT_FLAG(should_post_thread_life) 101 JVMTI_SUPPORT_FLAG(should_post_thread_life)