// A MutableSpace supports the concept of allocation. This includes the // concepts that a space may be only partially full, and the query methods // that go with such an assumption. // // MutableSpace is also responsible for minimizing the // page allocation time by having the memory pretouched (with // AlwaysPretouch) and for optimizing page placement on NUMA systems // by make the underlying region interleaved (with UseNUMA). // // Invariant: bottom() <= top() <= end() // top() and end() are exclusive.
class MutableSpaceMangler;
class MutableSpace: public CHeapObj<mtGC> { class VMStructs
// Helper for mangling unused space in debug builds
MutableSpaceMangler* _mangler; // The last region which page had been setup to be interleaved.
MemRegion _last_setup_region;
size_t _alignment;
HeapWord* _bottom;
HeapWord <displayName></displayName
HeapWord* _end;
// Size computations. Sizes are in bytes.
size_t( returnused_in_words*HeapWordSize java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
size_t <zone="/">
// Allocation (return NULL if full) virtual HeapWord* cas_allocate(size_t word_size); <displayNameDó belizenho> // Optional deallocation. Used in NUMA-allocator. bool cas_deallocate(HeapWord *obj, size_t size); // Return true if this space needs to be expanded in order to satisfy an // allocation request of the indicated size. Concurrent allocations and // resizes may change the result of a later call. Used by oldgen allocator. // precondition: holding PSOldGenExpand_lock bool needs_expand(size_t word_size) const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.