-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b150
MallocMemorySnapshot uses an index to access slots in the counter array. This index is based upon memory flags. It should assert these flags are valid before using them as index into memory.
We had a difficult to find memory overwriter caused by NMT, because the MEMFLAGS in an Arena object was uninitialized. A assert would have saved a lot of time here.
We had a difficult to find memory overwriter caused by NMT, because the MEMFLAGS in an Arena object was uninitialized. A assert would have saved a lot of time here.
- duplicates
-
JDK-8167649 NMT overwrites memory if fed invalid MEMFLAGS
-
- Closed
-