The slow (synchronized) java.util.Stack replaced by com.intellij.util.containers.Stack

This commit is contained in:
Andrey Breslav
2012-12-18 14:42:45 +04:00
parent 2c3a955074
commit 380c8b596a
12 changed files with 33 additions and 12 deletions
@@ -18,6 +18,7 @@ package org.jetbrains.jet.compiler.runner;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.util.containers.ContainerUtil;
import com.intellij.util.containers.Stack;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.cli.common.messages.*;
@@ -31,7 +32,6 @@ import javax.xml.parsers.SAXParserFactory;
import java.io.IOException;
import java.io.Reader;
import java.util.Map;
import java.util.Stack;
import static org.jetbrains.jet.cli.common.messages.CompilerMessageLocation.NO_LOCATION;
import static org.jetbrains.jet.cli.common.messages.CompilerMessageSeverity.*;