comparison src/share/vm/graal/graalCompiler.cpp @ 5105:95b8a32a7cc3

preparations to avoid endless recompilations because of not updated profiling information
author Christian Haeubl <christian.haeubl@oracle.com>
date Mon, 12 Mar 2012 18:40:05 -0700
parents 5e9f38419819
children ab038e0d6b43
comparison
equal deleted inserted replaced
5068:6e7c1fb1980f 5105:95b8a32a7cc3
274 274
275 HotSpotMethodResolved::set_codeSize(obj, method->code_size()); 275 HotSpotMethodResolved::set_codeSize(obj, method->code_size());
276 HotSpotMethodResolved::set_accessFlags(obj, method->access_flags().as_int()); 276 HotSpotMethodResolved::set_accessFlags(obj, method->access_flags().as_int());
277 HotSpotMethodResolved::set_maxLocals(obj, method->max_locals()); 277 HotSpotMethodResolved::set_maxLocals(obj, method->max_locals());
278 HotSpotMethodResolved::set_maxStackSize(obj, method->max_stack()); 278 HotSpotMethodResolved::set_maxStackSize(obj, method->max_stack());
279 HotSpotMethodResolved::set_canBeInlined(obj, !CompilerOracle::should_not_inline(method)); 279 HotSpotMethodResolved::set_canBeInlined(obj, !method->is_not_compilable() && !CompilerOracle::should_not_inline(method));
280 280
281 method->set_graal_mirror(obj()); 281 method->set_graal_mirror(obj());
282 return obj; 282 return obj;
283 } 283 }
284 284