RFR: 8251835: 8251374 breaks jmap -dump:all

Hohensee, Paul hohensee at amazon.com
Fri Aug 14 16:39:06 UTC 2020


Makes sense to me to do a followup. I've filed https://bugs.openjdk.java.net/browse/JDK-8251848.

I ran TEST="test/jdk/sun/tools/jmap/BasicJMapTest.java" JTREG="JAVA_OPTIONS=-XX:+UseParallelGC -XX:ParallelGCThreads=100" successfully, including your patch for 8251570.

This 8251835 patch looks good to me.

Thanks,
Paul

On 8/14/20, 7:49 AM, "Stefan Karlsson" <stefan.karlsson at oracle.com> wrote:

    Hi all,

    Please review this patch to fix a recently introduced jmap bug.

    https://cr.openjdk.java.net/~stefank/8251835/webrev.01/
    https://bugs.openjdk.java.net/browse/JDK-8251835

    I added the same kind of checks that we have in histo.

    Testing:
    - Tested locally with the failing test
    - Tier1-tier5 on Linux x64

    Paul posted a slightly more elaborate fix that makes dump more akin to
    histo:
    http://cr.openjdk.java.net/~phh/8251835/webrev.00/

    I don't know the testing status of that patch. If this needs to be fixed
    ASAP, I propose my fix, and then add the rest of Pauls bits as a
    follow-up RFE. If we have time to run Paul's patch through testing, then
    I'm fine with that as well.

    Thanks,
    StefanK



More information about the serviceability-dev mailing list