Stay organized with collections
Save and categorize content based on your preferences.
cycle_finder
The cycle_finder tool statically analyzes specified Java
source files for strong memory references between objects.
cycle_finder [ options ] file1.java ...
The following options are supported:
- -sourcepath <path>
- Specify where to find input source files
- -classpath <path>
- Specify where to find user class files
- --suppress-list <file>
- Specify a file that lists approved fields and types to suppress.
- --restrict-to <file>
- When specified, only cycles containing the types and namespaces listed are printed.
- -Xbootclasspath:<path>
- Boot path used by translation (not the tool itself).
- -version
- Version information
- -h, --help
- Print this message.
See Also
Cycle Finder Tool
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["`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."]]],[]]