comparison src/share/vm/gc_interface/collectedHeap.cpp @ 12838:85c1ca43713f

8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces Reviewed-by: brutisso, jmasa, coleenp
author stefank
date Mon, 07 Oct 2013 15:51:08 +0200
parents d6c266999345
children 8f07aa079343
comparison
equal deleted inserted replaced
12837:82af7d7a0128 12838:85c1ca43713f
200 } 200 }
201 default: 201 default:
202 ShouldNotReachHere(); // Unexpected use of this function 202 ShouldNotReachHere(); // Unexpected use of this function
203 } 203 }
204 } 204 }
205 MetaWord* CollectedHeap::satisfy_failed_metadata_allocation(
206 ClassLoaderData* loader_data,
207 size_t size, Metaspace::MetadataType mdtype) {
208 return collector_policy()->satisfy_failed_metadata_allocation(loader_data, size, mdtype);
209 }
210
211 205
212 void CollectedHeap::pre_initialize() { 206 void CollectedHeap::pre_initialize() {
213 // Used for ReduceInitialCardMarks (when COMPILER2 is used); 207 // Used for ReduceInitialCardMarks (when COMPILER2 is used);
214 // otherwise remains unused. 208 // otherwise remains unused.
215 #ifdef COMPILER2 209 #ifdef COMPILER2