diff -r 17bf4d428955 -r cc32ccaaf47f src/share/vm/utilities/debug.cpp --- a/src/share/vm/utilities/debug.cpp Wed Apr 03 16:43:09 2013 -0700 +++ b/src/share/vm/utilities/debug.cpp Thu Apr 04 10:01:26 2013 -0700 @@ -608,18 +608,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) {