Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/genCollectedHeap.cpp @ 2177:3582bf76420e
6990754: Use native memory and reference counting to implement SymbolTable
Summary: move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
author | coleenp |
---|---|
date | Thu, 27 Jan 2011 16:11:27 -0800 |
parents | 6cd6d394f280 |
children | 1d1603768966 |
comparison
equal
deleted
inserted
replaced
2176:27e4ea99855d | 2177:3582bf76420e |
---|---|
873 // this is the private collection interface | 873 // this is the private collection interface |
874 // The Heap_lock is expected to be held on entry. | 874 // The Heap_lock is expected to be held on entry. |
875 | 875 |
876 void GenCollectedHeap::collect_locked(GCCause::Cause cause, int max_level) { | 876 void GenCollectedHeap::collect_locked(GCCause::Cause cause, int max_level) { |
877 if (_preloading_shared_classes) { | 877 if (_preloading_shared_classes) { |
878 warning("\nThe permanent generation is not large enough to preload " | 878 report_out_of_shared_space(SharedPermGen); |
879 "requested classes.\nUse -XX:PermSize= to increase the initial " | |
880 "size of the permanent generation.\n"); | |
881 vm_exit(2); | |
882 } | 879 } |
883 // Read the GC count while holding the Heap_lock | 880 // Read the GC count while holding the Heap_lock |
884 unsigned int gc_count_before = total_collections(); | 881 unsigned int gc_count_before = total_collections(); |
885 unsigned int full_gc_count_before = total_full_collections(); | 882 unsigned int full_gc_count_before = total_full_collections(); |
886 { | 883 { |