1 | static L<Instance> heapWalker_pathToGCRoot(Instance i) {
|
2 | new L<Instance> path; |
3 | while licensed {
|
4 | path.add(i); |
5 | Instance j = i.getNearestGCRootPointer(); |
6 | if (j == null) null; // No path to GC root? |
7 | if (j == i) break; |
8 | i = j; |
9 | } |
10 | ret path; |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016889 |
| Snippet name: | heapWalker_pathToGCRoot |
| Eternal ID of this version: | #1016889/1 |
| Text MD5: | 9d24141f02165613f429f96f8a7771dc |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-06 18:04:36 |
| Source code size: | 274 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 584 / 617 |
| Referenced in: | [show references] |