Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/graphKit.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 | 7c57aead6d3e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1196:f3345b7b01b4 | 1213:6deeaebad47a |
---|---|
1 /* | 1 /* |
2 * Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 2001-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. |
249 // Others do not take the optional argument. | 249 // Others do not take the optional argument. |
250 // The JVMS must allow the bytecode to be re-executed | 250 // The JVMS must allow the bytecode to be re-executed |
251 // via an uncommon trap. | 251 // via an uncommon trap. |
252 void builtin_throw(Deoptimization::DeoptReason reason, Node* arg = NULL); | 252 void builtin_throw(Deoptimization::DeoptReason reason, Node* arg = NULL); |
253 | 253 |
254 // Helper to check the JavaThread::_should_post_on_exceptions flag | |
255 // and branch to an uncommon_trap if it is true (with the specified reason and must_throw) | |
256 void uncommon_trap_if_should_post_on_exceptions(Deoptimization::DeoptReason reason, | |
257 bool must_throw) ; | |
258 | |
254 // Helper Functions for adding debug information | 259 // Helper Functions for adding debug information |
255 void kill_dead_locals(); | 260 void kill_dead_locals(); |
256 #ifdef ASSERT | 261 #ifdef ASSERT |
257 bool dead_locals_are_killed(); | 262 bool dead_locals_are_killed(); |
258 #endif | 263 #endif |