aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/shell/ExecutionStatistics.java
Commit message (Collapse)AuthorAge
* Refactor and cleanup the sandboxing code.Gravatar Philipp Wollermann2018-03-23
| | | | | | | | | | | | | - Remove Optional<> where it's not needed. It's nice for return values, but IMHO it was overused in this code (e.g. Optional<List<X>> is an anti-pattern, as the list itself can already signal that it is empty). - Use Bazel's own Path class when dealing with paths, not String or java.io.File. - Move LinuxSandboxUtil into the "sandbox" package. - Remove dead code and unused fields. - Migrate deprecated VFS method calls to their replacements. - Fix a bug in ExecutionStatistics where a FileInputStream was not closed. Closes #4868. PiperOrigin-RevId: 190217476
* Provide more execution statistics in the ExecutionStatistics class.Gravatar ruperts2017-12-06
| | | | | | | In particular, provide all of the statistics available from the getrusage() system call. RELNOTES: None. PiperOrigin-RevId: 178162687
* Make ProcessWrapperUtil aware of the execution statistics file, and add new ↵Gravatar ruperts2017-12-05
ExecutionStatisticsProvider. RELNOTES: None. PiperOrigin-RevId: 178056182