hotspot/src/share/vm/prims/unsafe.cpp
changeset 10546 e79347eebbc5
parent 10510 ab626d1bdf53
child 10739 91935236600e
--- a/hotspot/src/share/vm/prims/unsafe.cpp	Sat Sep 10 00:11:04 2011 -0700
+++ b/hotspot/src/share/vm/prims/unsafe.cpp	Sat Sep 10 17:29:02 2011 -0700
@@ -719,7 +719,7 @@
     }
   }
 
-  int offset = instanceKlass::cast(k)->offset_from_fields(slot);
+  int offset = instanceKlass::cast(k)->field_offset(slot);
   return field_offset_from_byte_offset(offset);
 }