use of com.ibm.j9ddr.vm29.j9.gc.GCStringCacheTableIterator in project openj9 by eclipse.
the class RootScanner method scanStringTable.
protected void scanStringTable() throws CorruptDataException {
if (_extensions.collectStringConstants()) {
setReachability(Reachability.WEAK);
} else {
setReachability(Reachability.STRONG);
}
GCStringTableIterator stringTableIterator = GCStringTableIterator.from();
GCStringTableIterator stringTableAddressIterator = GCStringTableIterator.from();
while (stringTableIterator.hasNext()) {
doStringTableSlot(stringTableIterator.next(), stringTableAddressIterator.nextAddress());
}
GCStringCacheTableIterator cacheIterator = GCStringCacheTableIterator.from();
GCStringCacheTableIterator cacheAddressIterator = GCStringCacheTableIterator.from();
while (cacheIterator.hasNext()) {
doStringCacheTableSlot(cacheIterator.next(), cacheAddressIterator.nextAddress());
}
}
Aggregations