6385687: UseFastEmptyMethods/UseFastAccessorMethods considered harmful

Reviewed-by: kvn, jrose, phh
This commit is contained in:
Tom Rodriguez 2011-03-31 21:05:55 -07:00
parent f33b8cbb7a
commit 3ad32dbe57
2 changed files with 7 additions and 4 deletions

View file

@ -319,8 +319,11 @@ void JvmtiManageCapabilities::update() {
bool enter_all_methods =
interp_events ||
avail.can_generate_breakpoint_events;
UseFastEmptyMethods = !enter_all_methods;
UseFastAccessorMethods = !enter_all_methods;
if (enter_all_methods) {
// Disable these when tracking the bytecodes
UseFastEmptyMethods = false;
UseFastAccessorMethods = false;
}
if (avail.can_generate_breakpoint_events) {
RewriteFrequentPairs = false;