Skip to content

Commit

Permalink
Allow G1 in tools/jdk/BUILD.java_tools.
Browse files Browse the repository at this point in the history
This is a followup to 01e6e05. (I think BUILD.java_tools was introduced in between the creation of the PR for 01e6e05 and its landing.)

Closes bazelbuild#8964.

PiperOrigin-RevId: 259695109
  • Loading branch information
benjaminp authored and copybara-github committed Jul 24, 2019
1 parent 6dc66e1 commit 872c11a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tools/jdk/BUILD.java_tools
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ java_toolchain(
javac = [":javac_jar"],
javac_supports_workers = 1,
jvm_opts = [
# In JDK9 we have seen a ~30% slow down in JavaBuilder performance when using
# G1 collector and having compact strings enabled.
"-XX:+UseParallelOldGC",
"-XX:-CompactStrings",
# Allow JavaBuilder to access internal javac APIs.
"--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
"--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
Expand Down Expand Up @@ -88,10 +84,6 @@ java_toolchain(
javac = [":javac_jar"],
javac_supports_workers = 1,
jvm_opts = [
# In JDK9 we have seen a ~30% slow down in JavaBuilder performance
# when using G1 collector and having compact strings enabled.
"-XX:+UseParallelOldGC",
"-XX:-CompactStrings",
# Allow JavaBuilder to access internal javac APIs.
"--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
"--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
Expand Down Expand Up @@ -153,10 +145,6 @@ java_toolchain(
javac = [":javac_jar"],
javac_supports_workers = 1,
jvm_opts = [
# In JDK9 we have seen a ~30% slow down in JavaBuilder performance when using
# G1 collector and having compact strings enabled.
"-XX:+UseParallelOldGC",
"-XX:-CompactStrings",
# Allow JavaBuilder to access internal javac APIs.
"--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
"--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
Expand Down

0 comments on commit 872c11a

Please sign in to comment.