--- old/src/share/vm/utilities/debug.cpp 2012-11-12 10:52:11.648617572 -0800 +++ new/src/share/vm/utilities/debug.cpp 2012-11-12 10:52:11.560618678 -0800 @@ -642,18 +642,6 @@ return CodeCache::find_nmethod((address)addr); } -static address same_page(address x, address y) { - intptr_t page_bits = -os::vm_page_size(); - if ((intptr_t(x) & page_bits) == (intptr_t(y) & page_bits)) { - return x; - } else if (x > y) { - return (address)(intptr_t(y) | ~page_bits) + 1; - } else { - return (address)(intptr_t(y) & page_bits); - } -} - - // Another interface that isn't ambiguous in dbx. // Can we someday rename the other find to hsfind? extern "C" void hsfind(intptr_t x) {