forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional idle GC to WorkRequestHandler.
Workers have been known to retain releasable memory when not active, but currently we only explicitly GC after a certain amount of CPU has been used. This adds a slower GC scheduled after a certain amount of no activity. Enabled for JavaBuilder by default. PiperOrigin-RevId: 501489388 Change-Id: I7d242d7a0af538559783568ef1350e8e7afbb456
- Loading branch information
1 parent
2907a7e
commit 57c5ee3
Showing
1 changed file
with
94 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters