使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
cycle_finder
cycle_finder 工具会静态分析指定的 Java 源文件,以找出对象之间的强内存引用。
cycle_finder [ options ] file1.java ...
支持的选项如下:
- -sourcepath<路径>
- 指定在何处查找输入源文件
- -classpath<路径>
- 指定在何处查找用户类文件
- --suppress-list <文件>
- 指定一个文件,列出要抑制的已批准字段和类型。
- --restrict-to <文件>
- 指定此参数时,系统仅输出包含所列类型和命名空间的循环。
- -Xbootclasspath:<路径>
- 转换使用的启动路径(而非工具本身)。
- -version
- 版本信息
- -h, --help
- 输出此邮件。
另请参阅
Cycle Finder 工具
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-01-04。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2023-01-04。"],[],["The `cycle_finder` tool analyzes Java source files for strong memory references between objects. Key actions include specifying source files and using options like `-sourcepath` and `-classpath` to locate files. It can suppress output with `--suppress-list`, restrict output to specific types and namespaces using `--restrict-to`, and use `-Xbootclasspath` for translation. Additional options include viewing version information and getting help with `-version` and `-h` or `--help`, respectively.\n"]]