comparison src/share/vm/ci/bcEscapeAnalyzer.cpp @ 1397:b4776199210f

6943485: JVMTI always on capabilities change code generation too much Reviewed-by: twisti, dcubed
author never
date Mon, 26 Apr 2010 23:59:45 -0700
parents bd02caa94611
children c18cbe5936b8
comparison
equal deleted inserted replaced
1396:d7f654633cfe 1397:b4776199210f
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 }