mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14: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
|
@ -589,9 +589,15 @@ class CommandLineFlags {
|
|||
develop(bool, ZapJNIHandleArea, trueInDebug, \
|
||||
"Zap freed JNI handle space with 0xFEFEFEFE") \
|
||||
\
|
||||
develop(bool, ZapUnusedHeapArea, false, \
|
||||
develop(bool, ZapUnusedHeapArea, trueInDebug, \
|
||||
"Zap unused heap space with 0xBAADBABE") \
|
||||
\
|
||||
develop(bool, TraceZapUnusedHeapArea, false, \
|
||||
"Trace zapping of unused heap space") \
|
||||
\
|
||||
develop(bool, CheckZapUnusedHeapArea, false, \
|
||||
"Check zapping of unused heap space") \
|
||||
\
|
||||
develop(bool, PrintVMMessages, true, \
|
||||
"Print vm messages on console") \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue