src/share/vm/utilities/debug.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/utilities/debug.cpp	Mon Nov 12 10:52:11 2012
--- new/src/share/vm/utilities/debug.cpp	Mon Nov 12 10:52:11 2012

*** 640,661 **** --- 640,649 ---- extern "C" nmethod* findnm(intptr_t addr) { Command c("findnm"); 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) { Command c("hsfind"); os::print_location(tty, x, false);

src/share/vm/utilities/debug.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File