| Summary: | With IBM PHD, gc root not calculated if object points to itself | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] MAT | Reporter: | Brian Peacock <brian_peacock> | ||||
| Component: | Core | Assignee: | Project Inbox <mat.core-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | andrew_johnson | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Brian Peacock
Created attachment 191445 [details]
Patch to stop obj pointing to itself not being gcroot elligible
Thanks - that's a useful point. It makes no difference to the two test case dumps /org.eclipse.mat.tests/dumps/heapdump.20100112.141124.11580.0002.phd /org.eclipse.mat.tests/dumps/heapdump.20100209.165721.4484.phd but might be useful for other dumps. For the record, please could you confirm for the patch: 1.that you wrote 100% of the code 2.that you are authorized to contribute it 3.that is is submitted under the EPL. This is needed so we can use the patch. > For the record, please could you confirm for the patch: > 1.that you wrote 100% of the code Yes > 2.that you are authorized to contribute it Yes > 3.that is is submitted under the EPL. Yes I'll also make the corresponding change to GarbageCleaner.java which also calculates extra GC roots for otherwise unreachable objects. I've also improved the selection of extra GC roots in GarbageCleaner for keep_unreachable_objects. |