Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
cycle_finder
Công cụ cycle_finder phân tích tĩnh các tệp nguồn Java được chỉ định để các tệp tham chiếu bộ nhớ mạnh giữa các đối tượng.
cycle_finder [ options ] file1.java ...
Các tuỳ chọn sau được hỗ trợ:
- -sourcepath <đường dẫn>
- Chỉ định nơi tìm các tệp nguồn đầu vào
- -classpath <đường dẫn>
- Chỉ định vị trí tìm tệp lớp người dùng
- --suppress-list <tệp>
- Chỉ định một tệp liệt kê các trường và loại cần phê duyệt để loại bỏ.
- --restrict-to <tệp>
- Khi được chỉ định, chỉ có các chu kỳ chứa loại và vùng chứa tên được liệt kê mới được in.
- -Xbootclasspath:<đường dẫn>
- Đường dẫn khởi động được dịch sử dụng (không phải do chính công cụ).
- -version
- Thông tin phiên bản
- -h, --help
- In tin nhắn này.
Xem thêm
Cycle Finder Công cụ
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2023-01-04 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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"]]