< prev index next >
src/share/vm/oops/klassVtable.hpp
Print this page
@@ -221,11 +221,11 @@
itableMethodEntry* first_method_entry(Klass* k) { return method_entry(k, _offset); }
void initialize(Klass* interf, int offset) { _interface = interf; _offset = offset; }
// Static size and offset accessors
- static int size() { return sizeof(itableOffsetEntry) / HeapWordSize; } // size in words
+ static int size() { return sizeof(itableOffsetEntry)/wordSize; } // size in words
static int interface_offset_in_bytes() { return offset_of(itableOffsetEntry, _interface); }
static int offset_offset_in_bytes() { return offset_of(itableOffsetEntry, _offset); }
friend class klassItable;
};
@@ -241,11 +241,11 @@
void clear() { _method = NULL; }
void initialize(Method* method);
// Static size and offset accessors
- static int size() { return sizeof(itableMethodEntry) / HeapWordSize; } // size in words
+ static int size() { return sizeof(itableMethodEntry)/wordSize; } // size in words
static int method_offset_in_bytes() { return offset_of(itableMethodEntry, _method); }
friend class klassItable;
};
< prev index next >