Hi,

On 2016-03-02 19:10, Daniel D. Daugherty wrote:
On 3/2/16 9:56 AM, Andreas Eriksson wrote:
Hi,

Can I please have a review for this small test fix.

Bug: 8150986: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failing because expects HPROF JAVA PROFILE 1.0.1 file format
https://bugs.openjdk.java.net/browse/JDK-8150986
Webrev: http://cr.openjdk.java.net/~aeriksso/8150986/webrev/

test/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java
L57: private static final String HPROF_HEADER_1_0_1 = "JAVA PROFILE 1.0.1";

    This variable isn't used anymore. Do you want to delete it?
    Or do you want to leave it for documentation/historical purposes?

Yes, I'll delete it.
Uploaded a new webrev:
http://cr.openjdk.java.net/~aeriksso/8150986/webrev.02/

Also updated copyright year.


Thumbs up!

It would also be a good idea to search the various test suites for the
"JAVA PROFILE 1.0.1" pattern to see if there are any other tests that
might need to be updated.


I found no more tests with a quick search.

Thanks,
Andreas


Since this bug (8150986) is an integration_blocker, please feel free
to proceed with just this fix and do any follow-up work with a new bug.

Dan



As part of JDK-8144732 <https://bugs.openjdk.java.net/browse/JDK-8144732> support for dumping hprof with format 1.0.1 was removed, and we use format 1.0.2 always. I missed updating this test, which checks the header string in a heap dump.

Thanks,
Andreas


Reply via email to