comparison src/share/vm/opto/escape.cpp @ 7206:d2f8c38e543d

Merge
author roland
date Fri, 07 Dec 2012 01:09:03 -0800
parents 2aff40cb4703
children b30b3c2a0cf2
comparison
equal deleted inserted replaced
7191:816b7e5bf2ed 7206:d2f8c38e543d
2318 assert(phi->_idx >= nodes_size(), "only new Phi per instance memory slice"); 2318 assert(phi->_idx >= nodes_size(), "only new Phi per instance memory slice");
2319 return phi->as_Phi(); 2319 return phi->as_Phi();
2320 } 2320 }
2321 } 2321 }
2322 } 2322 }
2323 if ((int)C->unique() + 2*NodeLimitFudgeFactor > MaxNodeLimit) { 2323 if ((int) (C->live_nodes() + 2*NodeLimitFudgeFactor) > MaxNodeLimit) {
2324 if (C->do_escape_analysis() == true && !C->failing()) { 2324 if (C->do_escape_analysis() == true && !C->failing()) {
2325 // Retry compilation without escape analysis. 2325 // Retry compilation without escape analysis.
2326 // If this is the first failure, the sentinel string will "stick" 2326 // If this is the first failure, the sentinel string will "stick"
2327 // to the Compile object, and the C2Compiler will see it and retry. 2327 // to the Compile object, and the C2Compiler will see it and retry.
2328 C->record_failure(C2Compiler::retry_no_escape_analysis()); 2328 C->record_failure(C2Compiler::retry_no_escape_analysis());