src/share/vm/gc_implementation/g1/g1StringDedupTable.cpp
Print this page
*** 108,118 ****
// and deallocate the memory occupied by trimmed of entries.
void trim(size_t max_size);
};
G1StringDedupEntryCache::G1StringDedupEntryCache() {
! _nlists = MAX2(ParallelGCThreads, (size_t)1);
_lists = PaddedArray<G1StringDedupEntryFreeList, mtGC>::create_unfreeable((uint)_nlists);
}
G1StringDedupEntryCache::~G1StringDedupEntryCache() {
ShouldNotReachHere();
--- 108,118 ----
// and deallocate the memory occupied by trimmed of entries.
void trim(size_t max_size);
};
G1StringDedupEntryCache::G1StringDedupEntryCache() {
! _nlists = MAX2(ParallelGCThreads, (uintx)1);
_lists = PaddedArray<G1StringDedupEntryFreeList, mtGC>::create_unfreeable((uint)_nlists);
}
G1StringDedupEntryCache::~G1StringDedupEntryCache() {
ShouldNotReachHere();