mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
6672698: mangle_unused_area() should not remangle the entire heap at each collection
Maintain a high water mark for the allocations in a space and mangle only up to that high water mark. Reviewed-by: ysr, apetrusenko
This commit is contained in:
parent
0d9452401c
commit
18dbebd143
43 changed files with 1299 additions and 206 deletions
|
@ -171,14 +171,21 @@ class MutableNUMASpace : public MutableSpace {
|
|||
MutableNUMASpace();
|
||||
virtual ~MutableNUMASpace();
|
||||
// Space initialization.
|
||||
virtual void initialize(MemRegion mr, bool clear_space);
|
||||
virtual void initialize(MemRegion mr, bool clear_space, bool mangle_space);
|
||||
// Update space layout if necessary. Do all adaptive resizing job.
|
||||
virtual void update();
|
||||
// Update allocation rate averages.
|
||||
virtual void accumulate_statistics();
|
||||
|
||||
virtual void clear();
|
||||
virtual void mangle_unused_area();
|
||||
virtual void clear(bool mangle_space);
|
||||
virtual void mangle_unused_area() PRODUCT_RETURN;
|
||||
virtual void mangle_unused_area_complete() PRODUCT_RETURN;
|
||||
virtual void mangle_region(MemRegion mr) PRODUCT_RETURN;
|
||||
virtual void check_mangled_unused_area(HeapWord* limit) PRODUCT_RETURN;
|
||||
virtual void check_mangled_unused_area_complete() PRODUCT_RETURN;
|
||||
virtual void set_top_for_allocations(HeapWord* v) PRODUCT_RETURN;
|
||||
virtual void set_top_for_allocations() PRODUCT_RETURN;
|
||||
|
||||
virtual void ensure_parsability();
|
||||
virtual size_t used_in_words() const;
|
||||
virtual size_t free_in_words() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue