-
Bug
-
Resolution: Fixed
-
P4
-
20, 21
-
b24
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8308580 | na | Ioi Lam | P4 | Closed | Not an Issue |
I've found that we crash if we try to use ArrayAllocatorMallocLimit. The cause is that the CHeapBitMap destructor passes down the size to CHeapBitMap::free in "bits" but that function expects the size to be in "words".
This is a benign in normal runs, because the CHeapBitMap then uses os::free and it ignores the size. However, if you use the experimental ArrayAllocatorMallocLimit flag, then you can force CHeapBitMap to use mmap/munmap instead of malloc/free, and then the JVM will crash.
This is a benign in normal runs, because the CHeapBitMap then uses os::free and it ignores the size. However, if you use the experimental ArrayAllocatorMallocLimit flag, then you can force CHeapBitMap to use mmap/munmap instead of malloc/free, and then the JVM will crash.
- backported by
-
JDK-8308580 CHeapBitMap::free frees with incorrect size
-
- Closed
-
- relates to
-
JDK-8296139 Make GrowableBitMap the base class of all implementations
-
- Resolved
-