Skip to content

Commit

Permalink
Disable JVM perfdata when stamping jars
Browse files Browse the repository at this point in the history
  • Loading branch information
cheister committed Oct 27, 2023
1 parent 679348a commit a534358
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ load("@rules_jvm_external//:defs.bzl", "artifact")
java_binary(
name = "AddJarManifestEntry",
srcs = ["AddJarManifestEntry.java"],
# Disable perfdata to avoid warning on Linux hosts (https://github.com/bazelbuild/bazel/issues/3236)
# [warning][perf,memops] Cannot use file /tmp/hsperfdata_user/2 because it is locked by another process (errno = 11)
jvm_flags = ["-XX:-UsePerfData"],
main_class = "com.github.bazelbuild.rules_jvm_external.jar.AddJarManifestEntry",
visibility = [
"//visibility:public",
Expand Down

0 comments on commit a534358

Please sign in to comment.