Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/c2compiler.cpp @ 1543:1a1603f975b5
Merge
author | kvn |
---|---|
date | Wed, 19 May 2010 10:22:39 -0700 |
parents | b4776199210f |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1542:eb79484f795f | 1543:1a1603f975b5 |
---|---|
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. |
103 if (!is_initialized()) { | 103 if (!is_initialized()) { |
104 initialize(); | 104 initialize(); |
105 } | 105 } |
106 bool subsume_loads = true; | 106 bool subsume_loads = true; |
107 bool do_escape_analysis = DoEscapeAnalysis && | 107 bool do_escape_analysis = DoEscapeAnalysis && |
108 !(env->jvmti_can_hotswap_or_post_breakpoint() || | 108 !env->jvmti_can_access_local_variables(); |
109 env->jvmti_can_examine_or_deopt_anywhere()); | |
110 while (!env->failing()) { | 109 while (!env->failing()) { |
111 // Attempt to compile while subsuming loads into machine instructions. | 110 // Attempt to compile while subsuming loads into machine instructions. |
112 Compile C(env, this, target, entry_bci, subsume_loads, do_escape_analysis); | 111 Compile C(env, this, target, entry_bci, subsume_loads, do_escape_analysis); |
113 | 112 |
114 // Check result and retry if appropriate. | 113 // Check result and retry if appropriate. |