src/share/vm/opto/escape.cpp

changeset 7385
9e69e8d1c900
parent 7299
90297adbda9d
child 7402
f913964f3fde
equal deleted inserted replaced
7384:6a528388c7da 7385:9e69e8d1c900
2407 assert(phi->_idx >= nodes_size(), "only new Phi per instance memory slice"); 2407 assert(phi->_idx >= nodes_size(), "only new Phi per instance memory slice");
2408 return phi->as_Phi(); 2408 return phi->as_Phi();
2409 } 2409 }
2410 } 2410 }
2411 } 2411 }
2412 if ((int) (C->live_nodes() + 2*NodeLimitFudgeFactor) > MaxNodeLimit) { 2412 if (C->live_nodes() + 2*NodeLimitFudgeFactor > C->max_node_limit()) {
2413 if (C->do_escape_analysis() == true && !C->failing()) { 2413 if (C->do_escape_analysis() == true && !C->failing()) {
2414 // Retry compilation without escape analysis. 2414 // Retry compilation without escape analysis.
2415 // If this is the first failure, the sentinel string will "stick" 2415 // If this is the first failure, the sentinel string will "stick"
2416 // to the Compile object, and the C2Compiler will see it and retry. 2416 // to the Compile object, and the C2Compiler will see it and retry.
2417 C->record_failure(C2Compiler::retry_no_escape_analysis()); 2417 C->record_failure(C2Compiler::retry_no_escape_analysis());

mercurial