RFR: 8149790: NegativeArraySizeException with hprof

Andreas Eriksson andreas.eriksson at oracle.com
Fri Apr 15 14:40:21 UTC 2016


Hi,

Please review this test fix for 8149790: NegativeArraySizeException with 
hprof

https://bugs.openjdk.java.net/browse/JDK-8149790
http://cr.openjdk.java.net/~aeriksso/8149790/webrev.00/

Changes are to the hprof verifier, which now will pass heap dump content 
around as JavaThing arrays instead of byte arrays, since the latter 
cannot be guaranteed to be able to hold all the elements of large arrays.

There is still a problem where the test will timeout on machines with 
lots of memory (seen on machines with 200+GB of memory) because the 
verification takes a long time. I'll file a new bug for that problem.

Regards,
Andreas


More information about the serviceability-dev mailing list