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

@ -139,9 +139,8 @@ public class TestInferBinaryName {
throws IOException {
Context ctx = new Context();
Options options = Options.instance(ctx);
// uugh, ugly back door, should be cleaned up, someday
if (zipFileIndexKind == USE_ZIP_FILE_INDEX)
options.put("useOptimizedZip", "true");
options.put("useOptimizedZip",
Boolean.toString(zipFileIndexKind == USE_ZIP_FILE_INDEX));
if (symFileKind == IGNORE_SYMBOL_FILE)
options.put("ignore.symbol.file", "true");