Repository navigation
Commit dd94a01
committed
docs(plan): §17.6 —— mcpp run 的 ninja 空转满一个核
Observed three times in the sandbox verification, always on the `mcpp run`
after a `mcpp build`: ninja at 99.9% CPU with zero children and zero system
time, on a complete eight-edge graph with nothing to do.
Not the graph — the host runs the same project, with the same two `stage_file`
edges, in about two seconds. Not reproducible on demand afterwards in the same
sandbox. One difference recorded without a claim: the sandbox's ninja and the
host's are different binaries at the same version.
The deterministic corollary is worth fixing regardless: killing `mcpp run` does
not kill its ninja, so every timed-out step leaks a spinning core — one orphan
outlived the removal of its entire sandbox.1 parent 2a1a9b9 commit dd94a01
1 file changed
Lines changed: 40 additions & 0 deletions
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
765 | 765 | | |
766 | 766 | | |
767 | 767 | | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
0 commit comments