mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -97,8 +97,12 @@ const int SerializePageShiftCount = 3;
|
|||
// object size.
|
||||
class HeapWord {
|
||||
friend class VMStructs;
|
||||
private:
|
||||
private:
|
||||
char* i;
|
||||
#ifdef ASSERT
|
||||
public:
|
||||
char* value() { return i; }
|
||||
#endif
|
||||
};
|
||||
|
||||
// HeapWordSize must be 2^LogHeapWordSize.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue