File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
visualvm/heapviewer/src/com/sun/tools/visualvm/heapviewer/oql Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 130
130
})
131
131
public class OQLConsoleView extends HeapViewerFeature {
132
132
133
+ private static final int RESULTS_LIMIT = Integer .parseInt (System .getProperty ("OQLController.limitResults" , "100" )); // NOI18N
134
+
133
135
private static final Color SEPARATOR_COLOR = UIManager .getColor ("Separator.foreground" ); // NOI18N
134
136
135
137
private final HeapContext context ;
@@ -548,7 +550,7 @@ private void executeQueryImpl(final String oqlQuery) {
548
550
// public void run() {
549
551
new RequestProcessor ("OQL Query Processor" ).post (new Runnable () { // NOI18N
550
552
public void run () {
551
- final AtomicInteger counter = new AtomicInteger (100 );
553
+ final AtomicInteger counter = new AtomicInteger (RESULTS_LIMIT );
552
554
progressModel .setMaximum (100 );
553
555
554
556
final StringBuilder sb = new StringBuilder ();
You can’t perform that action at this time.
0 commit comments