1406 #endif |
1406 #endif |
1407 } |
1407 } |
1408 } |
1408 } |
1409 |
1409 |
1410 void BCEscapeAnalyzer::copy_dependencies(Dependencies *deps) { |
1410 void BCEscapeAnalyzer::copy_dependencies(Dependencies *deps) { |
1411 if(!has_dependencies()) |
1411 if (ciEnv::current()->jvmti_can_hotswap_or_post_breakpoint()) { |
1412 return; |
1412 // Also record evol dependencies so redefinition of the |
|
1413 // callee will trigger recompilation. |
|
1414 deps->assert_evol_method(method()); |
|
1415 } |
1413 for (int i = 0; i < _dependencies.length(); i+=2) { |
1416 for (int i = 0; i < _dependencies.length(); i+=2) { |
1414 ciKlass *k = _dependencies[i]->as_klass(); |
1417 ciKlass *k = _dependencies[i]->as_klass(); |
1415 ciMethod *m = _dependencies[i+1]->as_method(); |
1418 ciMethod *m = _dependencies[i+1]->as_method(); |
1416 deps->assert_unique_concrete_method(k, m); |
1419 deps->assert_unique_concrete_method(k, m); |
1417 } |
1420 } |