comparison src/share/vm/ci/ciEnv.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 4ce7240d622c
children b4776199210f
comparison
equal deleted inserted replaced
1196:f3345b7b01b4 1213:6deeaebad47a
1 /* 1 /*
2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1999-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.
55 55
56 // Cache Jvmti state 56 // Cache Jvmti state
57 bool _jvmti_can_hotswap_or_post_breakpoint; 57 bool _jvmti_can_hotswap_or_post_breakpoint;
58 bool _jvmti_can_examine_or_deopt_anywhere; 58 bool _jvmti_can_examine_or_deopt_anywhere;
59 bool _jvmti_can_access_local_variables; 59 bool _jvmti_can_access_local_variables;
60 bool _jvmti_can_post_exceptions; 60 bool _jvmti_can_post_on_exceptions;
61 61
62 // Cache DTrace flags 62 // Cache DTrace flags
63 bool _dtrace_extended_probes; 63 bool _dtrace_extended_probes;
64 bool _dtrace_monitor_probes; 64 bool _dtrace_monitor_probes;
65 bool _dtrace_method_probes; 65 bool _dtrace_method_probes;
257 // Cache Jvmti state 257 // Cache Jvmti state
258 void cache_jvmti_state(); 258 void cache_jvmti_state();
259 bool jvmti_can_hotswap_or_post_breakpoint() const { return _jvmti_can_hotswap_or_post_breakpoint; } 259 bool jvmti_can_hotswap_or_post_breakpoint() const { return _jvmti_can_hotswap_or_post_breakpoint; }
260 bool jvmti_can_examine_or_deopt_anywhere() const { return _jvmti_can_examine_or_deopt_anywhere; } 260 bool jvmti_can_examine_or_deopt_anywhere() const { return _jvmti_can_examine_or_deopt_anywhere; }
261 bool jvmti_can_access_local_variables() const { return _jvmti_can_access_local_variables; } 261 bool jvmti_can_access_local_variables() const { return _jvmti_can_access_local_variables; }
262 bool jvmti_can_post_exceptions() const { return _jvmti_can_post_exceptions; } 262 bool jvmti_can_post_on_exceptions() const { return _jvmti_can_post_on_exceptions; }
263 263
264 // Cache DTrace flags 264 // Cache DTrace flags
265 void cache_dtrace_flags(); 265 void cache_dtrace_flags();
266 bool dtrace_extended_probes() const { return _dtrace_extended_probes; } 266 bool dtrace_extended_probes() const { return _dtrace_extended_probes; }
267 bool dtrace_monitor_probes() const { return _dtrace_monitor_probes; } 267 bool dtrace_monitor_probes() const { return _dtrace_monitor_probes; }