6990754: Use native memory and reference counting to implement SymbolTable

Move symbols from permgen into C heap and reference count them

Reviewed-by: never, acorn, jmasa, stefank
This commit is contained in:
Coleen Phillimore 2011-01-27 16:11:27 -08:00
parent 950858350d
commit 7b4f8073f0
223 changed files with 3783 additions and 3641 deletions

View file

@ -875,10 +875,7 @@ void GenCollectedHeap::collect_locked(GCCause::Cause cause) {
void GenCollectedHeap::collect_locked(GCCause::Cause cause, int max_level) {
if (_preloading_shared_classes) {
warning("\nThe permanent generation is not large enough to preload "
"requested classes.\nUse -XX:PermSize= to increase the initial "
"size of the permanent generation.\n");
vm_exit(2);
report_out_of_shared_space(SharedPermGen);
}
// Read the GC count while holding the Heap_lock
unsigned int gc_count_before = total_collections();