컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
cycle_finder
cycle_finder 도구는 지정된 자바 소스 파일을 객체 간에 강력한 메모리 참조를 찾기 위해 정적으로 분석합니다.
cycle_finder [ options ] file1.java ...
다음과 같은 옵션이 지원됩니다.
- -sourcepath <path>
- 입력 소스 파일을 찾을 위치 지정
- -classpath <path>
- 사용자 클래스 파일을 찾을 위치 지정하기
- --suppress-list <파일>
- 억제할 승인 필드 및 유형을 나열하는 파일을 지정합니다.
- --restrict-to <파일>
- 이 플래그를 지정하면 나열된 유형과 네임스페이스가 포함된 주기만 인쇄됩니다.
- -Xbootclasspath:<경로>
- 변환에 사용되는 부팅 경로입니다 (도구 자체는 아님).
- -version
- 버전 정보
- -h, --help
- 이 메시지를 인쇄합니다.
참고 항목
Cycle Finder 도구
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-01-04(UTC)
[[["이해하기 쉬움","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(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."]]],["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"]]