hotspot/src/share/vm/code/nmethod.cpp
changeset 8668 32feee9b0d25
parent 8495 a4959965eaa3
child 8672 26a427ab6f32
--- a/hotspot/src/share/vm/code/nmethod.cpp	Thu Mar 03 23:31:45 2011 -0800
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Fri Mar 04 20:01:48 2011 -0800
@@ -1881,7 +1881,7 @@
 
 
 oop nmethod::embeddedOop_at(u_char* p) {
-  RelocIterator iter(this, p, p + oopSize);
+  RelocIterator iter(this, p, p + 1);
   while (iter.next())
     if (iter.type() == relocInfo::oop_type) {
       return iter.oop_reloc()->oop_value();