< prev index next >
src/share/vm/interpreter/bytecodeTracer.cpp
Print this page
*** 262,272 ****
if (cache == NULL) {
cp_index = i;
return true;
}
//climit = cache->length(); // %%% private!
! size_t size = cache->size() * HeapWordSize;
size -= sizeof(ConstantPoolCache);
size /= sizeof(ConstantPoolCacheEntry);
climit = (int) size;
#ifdef ASSERT
--- 262,272 ----
if (cache == NULL) {
cp_index = i;
return true;
}
//climit = cache->length(); // %%% private!
! size_t size = cache->size() * wordSize;
size -= sizeof(ConstantPoolCache);
size /= sizeof(ConstantPoolCacheEntry);
climit = (int) size;
#ifdef ASSERT
< prev index next >