Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_interface/collectedHeap.hpp @ 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 | 5888334c9c24 |
children | 096c224171c4 ff355e26c78d cfd4aac53239 |
comparison
equal
deleted
inserted
replaced
12837:82af7d7a0128 | 12838:85c1ca43713f |
---|---|
473 // vm thread. It collects the heap assuming that the | 473 // vm thread. It collects the heap assuming that the |
474 // heap lock is already held and that we are executing in | 474 // heap lock is already held and that we are executing in |
475 // the context of the vm thread. | 475 // the context of the vm thread. |
476 virtual void collect_as_vm_thread(GCCause::Cause cause); | 476 virtual void collect_as_vm_thread(GCCause::Cause cause); |
477 | 477 |
478 // Callback from VM_CollectForMetadataAllocation operation. | |
479 MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data, | |
480 size_t size, | |
481 Metaspace::MetadataType mdtype); | |
482 | |
483 // Returns the barrier set for this heap | 478 // Returns the barrier set for this heap |
484 BarrierSet* barrier_set() { return _barrier_set; } | 479 BarrierSet* barrier_set() { return _barrier_set; } |
485 | 480 |
486 // Returns "true" iff there is a stop-world GC in progress. (I assume | 481 // Returns "true" iff there is a stop-world GC in progress. (I assume |
487 // that it should answer "false" for the concurrent part of a concurrent | 482 // that it should answer "false" for the concurrent part of a concurrent |