JaroslavTulach opened a new pull request #2379:
URL: https://github.com/apache/netbeans/pull/2379
Commit 8b59038 demonstrates the problems when reading a Hprof file with
multiple segments. The current code yields:
```
java.lang.IllegalArgumentException: Invalid dump tag 0 at position 1415
at
org.netbeans.lib.profiler.heap.HprofHeap.readDumpTag(HprofHeap.java:1138)
at
org.netbeans.lib.profiler.heap.HprofHeap.fillHeapTagBounds(HprofHeap.java:1215)
at org.netbeans.lib.profiler.heap.HprofHeap.<init>(HprofHeap.java:140)
at
org.netbeans.lib.profiler.heap.HeapFactory.createHeap(HeapFactory.java:80)
at
org.netbeans.lib.profiler.heap.HeapFactory.createHeap(HeapFactory.java:49)
```
The code in `HprofHeap` seems to assume only one segment is active. Can it
be made ready for multiple segments or at least read them one by one.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists