commit | f217c9cb37b6da4a38b90908086a2dfe50c674e8 | [log] [tgz] |
---|---|---|
author | cheister <cheister@gmail.com> | Mon Mar 11 08:48:23 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Mar 11 08:48:56 2024 -0700 |
tree | 5703c48b212b4e6020e16b42d50147217ff92e37 | |
parent | 02df6937cda3f627a47d42391b09b7da0fe3b849 [diff] |
Disable perfdata when running JavaToolchainCompileClasses or JavaToolchainCompileBootClasspath Copybara Import from https://github.com/bazelbuild/rules_java/pull/149 BEGIN_PUBLIC Disable perfdata when running JavaToolchainCompileClasses or JavaToolchainCompileBootClasspath (#149) A [recent JDK update](https://github.com/openjdk/jdk/commit/84f23149e22561173feb0e34bca31a7345b43c89#diff-7313eb3d328797a7720fa1b2b73cd159934506593443e45534baad80cb1382b7R924-R927) started printing the following warning message from the JVM ``` [warning][perf,memops] Cannot use file /tmp/hsperfdata_username/2 because it is locked by another process (errno = 11) ``` on linux hosts. Also referenced from https://github.com/bazelbuild/bazel/issues/3236 This PR disables the perfdata generation when running JavaToolchainCompileClasses or JavaToolchainCompileBootClasspath so this warning message won't be printed. Closes #149 END_PUBLIC COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/149 from cheister:no-perfdata 601c3e5ad6959db85917e8297711daaacaa37b22 PiperOrigin-RevId: 614679249 Change-Id: I7e90c0ec0b93ac57763d3a5af546c4af9f7c9dc0
Java Rules for Bazel https://bazel.build.