You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: visualvm/libs.profiler/profiler.oql/src/org/graalvm/visualvm/lib/profiler/oql/engine/api/impl/Snapshot.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -325,8 +325,8 @@ public Iterator getRoots() {
325
325
returndelegate.getGCRoots().iterator();
326
326
}
327
327
328
-
privateListgetRootsInstancesList() {
329
-
List<Object> roots = newArrayList<Object>();
328
+
privateSetgetRootsInstances() {
329
+
Set<Object> roots = newHashSet<Object>();
330
330
for(ObjectrootObj : delegate.getGCRoots()) {
331
331
GCRootroot = (GCRoot)rootObj;
332
332
Instanceinst = root.getInstance();
@@ -365,7 +365,7 @@ public State(ReferenceChain path, Iterator<Instance> iterator) {
365
365
366
366
List<ReferenceChain> result = newArrayList<ReferenceChain>();
0 commit comments