透過集合功能整理內容
你可以依據偏好儲存及分類內容。
cycle_finder
cycle_finder 工具靜態分析指定的 Java 來源檔案,以在物件之間建立強大的記憶體參照。
cycle_finder [ options ] file1.java ...
以下是支援的選項:
- -sourcepath <路徑>
- 指定輸入來源檔案的尋找位置
- -classpath <路徑>
- 指定尋找使用者類別檔案的位置
- --suppress-list <檔案>
- 指定用來列出已核准欄位,並略過要輸入的檔案。
- --restrict-to <檔案>
- 如果有指定此情況,系統只會列印包含所列類型和命名空間的週期。
- -Xbootclasspath:<路徑>
- 翻譯使用的啟動路徑 (而非工具本身)。
- -version
- 版本資訊
- -h, --help
- 列印這封郵件。
另請參閱
Cycle Finder 工具
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間: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"]],["上次更新時間:2023-01-04 (世界標準時間)。"],[[["`cycle_finder` is a static analysis tool designed to identify strong memory reference cycles in Java source code."],["Users can specify source files, classpaths, and customize analysis using options like `--suppress-list` and `--restrict-to`."],["The tool aids in detecting potential memory leaks by highlighting circular dependencies between objects in Java programs."],["Additional information and guides can be found in the linked documentation for the `cycle_finder` tool."]]],["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"]]