7021927: javac: regression in performance

Reviewed-by: jjg
This commit is contained in:
Kumar Srinivasan 2011-03-07 17:39:42 -08:00
parent f71b78ced3
commit aa60df6782
10 changed files with 454 additions and 31 deletions

View file

@ -168,9 +168,7 @@ public class T6877206 {
JavacFileManager createFileManager(boolean useOptimizedZip, boolean useSymbolFile) {
Context ctx = new Context();
Options options = Options.instance(ctx);
if (useOptimizedZip) {
options.put("useOptimizedZip", "true");
}
options.put("useOptimizedZip", Boolean.toString(useOptimizedZip));
if (!useSymbolFile) {
options.put("ignore.symbol.file", "true");
}