Bug 76283 [performance] Problems requested twice when opening a Java editor
I20041013 When opening a Java editor, problems are requested once during ICompilationUnit#becomeWorkingCopy and once during ICompilationUnit#reconcile. The IProblemRequestor should be disabled during #becomeWorkingCopy so as to avoid to compute problems (which involves the full resolution of the working copy).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
private static class ProblemRequestorState {
				boolean fInsideReportingSequence= false;
				List fReportedProblems;
			}
			
			private ThreadLocal fProblemRequestorState= new ThreadLocal();
			private int fStateCount= 0;
			
			private ICompilationUnit fCompilationUnit;
			private List fGeneratedAnnotations;
			private IProgressMonitor fProgressMonitor;
			private boolean fIsActive= false;
			
			private ReverseMap fReverseMap= new ReverseMap();
			private List fPreviouslyOverlaid= null; 
			private List fCurrentlyOverlaid= new ArrayList();
			
			public CompilationUnitAnnotationModel(IResource resource) {
				super(resource);
			}
			
			public void setCompilationUnit(ICompilationUnit unit)  {
				fCompilationUnit= unit;
			}
			
			protected MarkerAnnotation createMarkerAnnotation(IMarker marker) {