Skip to content

Commit

Permalink
283778: Diff Heap Dumps
Browse files Browse the repository at this point in the history
Multiple array index matching

Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=283778

Change-Id: I95acdaad78937c7ed1544e03caf01ea51105a720
  • Loading branch information
ajohnson1 committed Oct 18, 2020
1 parent ac3881d commit 3627723
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public class FindLeaksQuery2 implements IQuery
public String options = "-prefix"; //$NON-NLS-1$

@Argument(isMandatory = false)
public Pattern mask = Pattern.compile("\\s@ 0x[0-9a-f]+|^\\[[0-9]+\\]$|(?<=\\p{javaJavaIdentifierPart}\\[)\\d+(?=\\])"); //$NON-NLS-1$
public Pattern mask = Pattern.compile("\\s@ 0x[0-9a-f]+|^(\\[[0-9]+\\], )*\\[[0-9]+\\]$|(?<=\\p{javaJavaIdentifierPart}\\[)\\d+(?=\\])"); //$NON-NLS-1$

@Argument(isMandatory = false, flag = "x")
public String[] extraReferences = new String[] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class LeakHunterQuery2 extends LeakHunterQuery
public String options = "-prefix"; //$NON-NLS-1$

@Argument(isMandatory = false)
public Pattern mask = Pattern.compile("\\s@ 0x[0-9a-f]+|^\\[[0-9]+\\]$|(?<=\\p{javaJavaIdentifierPart}\\[)\\d+(?=\\])"); //$NON-NLS-1$
public Pattern mask = Pattern.compile("\\s@ 0x[0-9a-f]+|^(\\[[0-9]+\\], )*\\[[0-9]+\\]$|(?<=\\p{javaJavaIdentifierPart}\\[)\\d+(?=\\])"); //$NON-NLS-1$

@Argument(isMandatory = false, flag = "x")
public String[] extraReferences = new String[] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class SimpleComparison implements IQuery
public String options;

@Argument(isMandatory = false)
public String defaultoptions = "-mask \"\\s@ 0x[0-9a-f]+|^\\[[0-9]+\\]$|(?<=\\p{javaJavaIdentifierPart}\\[)\\d+(?=\\])\" -x java.util.HashMap$Node:key java.util.Hashtable$Entry:key java.util.WeakHashMap$Entry:referent java.util.concurrent.ConcurrentHashMap$Node:key"; //$NON-NLS-1$
public String defaultoptions = "-mask \"\\s@ 0x[0-9a-f]+|^(\\[[0-9]+\\], )*\\[[0-9]+\\]$|(?<=\\p{javaJavaIdentifierPart}\\[)\\d+(?=\\])\" -x java.util.HashMap$Node:key java.util.Hashtable$Entry:key java.util.WeakHashMap$Entry:referent java.util.concurrent.ConcurrentHashMap$Node:key"; //$NON-NLS-1$

public enum Retained {
APPROXIMATE,
Expand Down

0 comments on commit 3627723

Please sign in to comment.