资 源 简 介
memlog is composed of two components: The sampler and the viewer.
The sampler is using jmap to sample a given Java process periodically. The samples are stored in a newly created directory where every sample has its own file. The files contain the date in their name.
Why Another Profiling Utility?
Well, Profiling tools are rather heavy and are oriented for developers. memlog tries to solve a use case in which anyone may generate profiling data. For example a QA person or an SE on a remote site. That profiling data may then be given to a developer who now will have more information than "We got an OutOfMemoryError".
Viewer
Using the viewer is simple. Use the File->Open menu to open a given samples directory.
The following snapshot shows the viewer after it loaded a histograms directory:
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报