Mercurial > hg > graal-compiler
comparison src/share/vm/memory/universe.cpp @ 453:c96030fff130
6684579: SoftReference processing can be made more efficient
Summary: For current soft-ref clearing policies, we can decide at marking time if a soft-reference will definitely not be cleared, postponing the decision of whether it will definitely be cleared to the final reference processing phase. This can be especially beneficial in the case of concurrent collectors where the marking is usually concurrent but reference processing is usually not.
Reviewed-by: jmasa
author | ysr |
---|---|
date | Thu, 20 Nov 2008 16:56:09 -0800 |
parents | 1ee8caae33af |
children | 7d7a7c599c17 |
comparison
equal
deleted
inserted
replaced
452:00b023ae2d78 | 453:c96030fff130 |
---|---|
94 int Universe::_base_vtable_size = 0; | 94 int Universe::_base_vtable_size = 0; |
95 bool Universe::_bootstrapping = false; | 95 bool Universe::_bootstrapping = false; |
96 bool Universe::_fully_initialized = false; | 96 bool Universe::_fully_initialized = false; |
97 | 97 |
98 size_t Universe::_heap_capacity_at_last_gc; | 98 size_t Universe::_heap_capacity_at_last_gc; |
99 size_t Universe::_heap_used_at_last_gc; | 99 size_t Universe::_heap_used_at_last_gc = 0; |
100 | 100 |
101 CollectedHeap* Universe::_collectedHeap = NULL; | 101 CollectedHeap* Universe::_collectedHeap = NULL; |
102 address Universe::_heap_base = NULL; | 102 address Universe::_heap_base = NULL; |
103 | 103 |
104 | 104 |