Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java

Issue 614403002: turn off instrumentated task cycle detection (Closed) Base URL: https://dart.googlecode.com/svn/trunk/dart
Patch Set: increment VERSION Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/VERSION » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
index a1ae1f461445aa82098ce8e9681ebd4a748a9087..2638b36f8781559e34bc4afeccfcd67a2b7b2bc8 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
@@ -1923,17 +1923,17 @@ public class AnalysisContextImpl implements InternalAnalysisContext {
return new AnalysisResult(getChangeNotices(true), getEnd - getStart, null, -1L);
}
String taskDescription = task.toString();
- if (!reportedLoop && !recentTasks.add(taskDescription)) {
- @SuppressWarnings("resource")
- PrintStringWriter writer = new PrintStringWriter();
- writer.print("Performing repeated task: ");
- writer.println(taskDescription);
- for (String description : recentTasks) {
- writer.print(" ");
- writer.println(description);
- }
- logInformation(writer.toString());
- }
+// if (!reportedLoop && !recentTasks.add(taskDescription)) {
+// @SuppressWarnings("resource")
+// PrintStringWriter writer = new PrintStringWriter();
+// writer.print("Performing repeated task: ");
+// writer.println(taskDescription);
+// for (String description : recentTasks) {
+// writer.print(" ");
+// writer.println(description);
+// }
+// logInformation(writer.toString());
+// }
notifyAboutToPerformTask(taskDescription);
if (TRACE_PERFORM_TASK) {
System.out.println(taskDescription);
« no previous file with comments | « no previous file | tools/VERSION » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698