RFR: 8257668: SA JMap - skip non-java thread stack dump for heap dump

Hohensee, Paul hohensee at amazon.com
Fri Dec 4 14:19:31 UTC 2020


Imo this is good idea because it eliminates useless/voluminous output. It's a behavioral change nonetheless, so it would be great for others to weigh in. Code change is fine.

Thanks,
Paul

-----Original Message-----
From: serviceability-dev <serviceability-dev-retn at openjdk.java.net> on behalf of Lin Zang <lzang at openjdk.java.net>
Date: Thursday, December 3, 2020 at 4:16 AM
To: "serviceability-dev at openjdk.java.net" <serviceability-dev at openjdk.java.net>
Subject: RFR: 8257668: SA JMap - skip non-java thread stack dump for heap dump

when use SA JMap dump commands, such as "jhsdb jmap --binaryheap" or "dump heap" with "jhsdb clhsdb", it keep printing "dumpStack: not java Thread.".
Skip non-java thread stack dump to avoid printing the message.

-------------

Commit messages:
 - 8257668: SA JMap - skip non-java thread stack dump for heap dump

Changes: https://git.openjdk.java.net/jdk/pull/1593/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1593&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8257668
  Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1593.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1593/head:pull/1593

PR: https://git.openjdk.java.net/jdk/pull/1593



More information about the serviceability-dev mailing list