mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
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:
parent
950858350d
commit
7b4f8073f0
223 changed files with 3783 additions and 3641 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue