Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用映像 azul/zulu-openjdk-debian:14 通过 Docker 将应用程序升级到 Java 14。但是,我无法获取堆统计信息,因为容器没有安装 jhsdb (jmap)。想知道要安装哪个包才能获取堆统计信息、运行 GC 和进行线程转储。
确保您已提取最新版本:
# docker pull azul/zulu-openjdk-debian:14 # docker run -it azul/zulu-openjdk-debian:14 jmap -? Usage: jmap -clstats <pid> to connect to running process and print class loader statistics ...