Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
cycle_finder
Alat cycle_finder menganalisis file sumber Java tertentu
secara statis untuk referensi memori yang kuat antar-objek.
cycle_finder [ options ] file1.java ...
Opsi berikut ini didukung:
- -sourcepath <path>
- Menentukan tempat menemukan file sumber input
- -classpath <path>
- Menentukan tempat menemukan file class pengguna
- --suppress-list <file>
- Menentukan file yang mencantumkan kolom dan jenis yang disetujui untuk disembunyikan.
- --restrict-to <file>
- Jika ditentukan, hanya siklus yang berisi jenis dan namespace yang tercantum yang akan dicetak.
- -Xbootclasspath:<jalur>
- Jalur booting yang digunakan oleh terjemahan (bukan alat itu sendiri).
- -version
- Informasi versi
- -h, --help
- Cetak pesan ini.
Lihat Juga
Cycle Finder Alat
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-01-04 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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"]]