mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
7021927: javac: regression in performance
Reviewed-by: jjg
This commit is contained in:
parent
f71b78ced3
commit
aa60df6782
10 changed files with 454 additions and 31 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue