Community
Participate
Working Groups
Sometimes it is useful to operate on all the objects displayed in a table/tree and not just the visible ones. This is currently quite tricky, but as an enhancement it can be done by allowing the selection of the totals row to mean all the remaining items. E.g. the totals row is changed to show how many items are not displayed '5,276 more', and selection of that row selects those items, and selecting all rows selects all items, visible and invisible. Class Name | Objects | Shallow Heap | Retained Heap -------------------------------------------------------------------------------------------------- .*j*.* | | | char[] | 36,755 | 4,016,936 | 4,017,112 java.lang.String | 41,117 | 1,973,616 | 5,713,792 byte[] | 584 | 964,624 | 964,752 java.lang.Class | 5,291 | 677,248 | 5,648,640 java.util.HashMap$Entry | 10,952 | 613,312 | 2,988,392 int[] | 2,815 | 529,552 | 529,728 java.util.Hashtable$Entry | 9,290 | 520,240 | 2,494,984 java.lang.Object[] | 4,057 | 475,792 | 1,208,208 java.lang.reflect.Field | 2,597 | 353,192 | 419,984 java.util.HashMap$Entry[] | 2,303 | 329,944 | 3,220,040 java.lang.String[] | 3,975 | 276,072 | 1,271,376 java.util.Hashtable$Entry[] | 758 | 199,944 | 2,639,648 org.eclipse.core.internal.registry.ConfigurationElement| 2,319 | 185,520 | 958,544 org.eclipse.core.internal.registry.ReferenceMap$SoftRef| 2,868 | 183,552 | 183,680 java.util.HashMap | 2,302 | 165,744 | 3,283,496 Total: 15 of 5,291 entries; 5,276 more | 184,705 | 15,116,936 | --------------------------------------------------------------------------------------------------
The code has been committed and help supplied in the 'Tips and tricks' section.