- 
    Type:
Bug
 - 
    Resolution: Fixed
 - 
    Priority:
  P2                     
     - 
    Affects Version/s: 9
 - 
    Component/s: hotspot
 
- 
        b110
 - 
        Not verified
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8235299 | openjdk8u252 | Denghui Dong | P2 | Resolved | Fixed | b01 | 
                    heapDumper doesn't check the size of segment while dumping an array. So if (bytes written to segment + length of array) > max_juint it overflows u4 segment length field and crash later on assert in heapDumper.cpp:
assert(dump_len >= 0 && dump_len <= max_juint) failed: bad dump length
            
assert(dump_len >= 0 && dump_len <= max_juint) failed: bad dump length
- backported by
 - 
                    
JDK-8235299 VM_HeapDumper hits assert with bad dump_len
-         
     - Resolved
 
 -         
 
- duplicates
 - 
                    
JDK-8145091 JMAP fails to dump huge arrays
-         
     - Closed
 
 -         
 
- relates to
 - 
                    
JDK-8149790 NegativeArraySizeException with hprof
-         
     - Resolved
 
 -         
 - 
                    
JDK-8150986 serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failing because expects HPROF JAVA PROFILE 1.0.1 file format
-         
     - Closed
 
 -         
 - 
                    
JDK-8171084 heapdump/JMapHeapCore fails with java.lang.RuntimeException: Heap segment size overflow.
-         
     - Closed
 
 -         
 - 
                    
JDK-8145091 JMAP fails to dump huge arrays
-         
     - Closed
 
 -         
 
             (1 relates to)
        
    
               There are no Sub-Tasks for this issue.