Lines 1-13
Link Here
|
1 |
--- tools/jdk/default_java_toolchain.bzl.orig 1980-01-01 00:00:00.000000000 +0000 |
1 |
--- tools/jdk/default_java_toolchain.bzl.orig 2019-08-06 08:09:07.930962000 +0000 |
2 |
+++ tools/jdk/default_java_toolchain.bzl 2019-03-04 15:02:00.395888000 +0000 |
2 |
+++ tools/jdk/default_java_toolchain.bzl 2019-08-06 08:16:15.674960000 +0000 |
3 |
@@ -19,29 +19,6 @@ |
3 |
@@ -19,25 +19,6 @@ |
4 |
] |
4 |
] |
5 |
|
5 |
|
6 |
JDK9_JVM_OPTS = [ |
6 |
JDK9_JVM_OPTS = [ |
7 |
- # In JDK9 we have seen a ~30% slow down in JavaBuilder performance when using |
|
|
8 |
- # G1 collector and having compact strings enabled. |
9 |
- "-XX:+UseParallelOldGC", |
10 |
- "-XX:-CompactStrings", |
11 |
- # Allow JavaBuilder to access internal javac APIs. |
7 |
- # Allow JavaBuilder to access internal javac APIs. |
12 |
- "--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED", |
8 |
- "--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED", |
13 |
- "--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED", |
9 |
- "--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED", |
Lines 30-36
Link Here
|
30 |
] |
26 |
] |
31 |
|
27 |
|
32 |
DEFAULT_JAVACOPTS = [ |
28 |
DEFAULT_JAVACOPTS = [ |
33 |
@@ -74,7 +51,7 @@ |
29 |
@@ -70,7 +51,7 @@ |
34 |
"@bazel_tools//tools/jdk:jdk_compiler_jar", |
30 |
"@bazel_tools//tools/jdk:jdk_compiler_jar", |
35 |
], |
31 |
], |
36 |
"javac_supports_workers": 1, |
32 |
"javac_supports_workers": 1, |