< prev index next > src/hotspot/share/classfile/stringTable.cpp
Print this page
// If string is too large, don't put it into the string table.
// - If there are no other references to it, it won't be stored into the archive,
// so we are all good.
// - If there's a reference to it, we will report an error inside HeapShared.cpp and
// dumping will fail.
! HeapShared::add_to_dumped_interned_strings(string);
}
n++;
return true;
};
// If string is too large, don't put it into the string table.
// - If there are no other references to it, it won't be stored into the archive,
// so we are all good.
// - If there's a reference to it, we will report an error inside HeapShared.cpp and
// dumping will fail.
! HeapShared::archive_interned_string(string);
}
n++;
return true;
};
< prev index next >