Phase 4 D3: alloc gate shape (env-gated)

This commit is contained in:
Moe Charm (CI)
2025-12-14 00:26:57 +09:00
parent b40aff290e
commit 11b0e3f32b
7 changed files with 95 additions and 1 deletions

View File

@ -95,6 +95,12 @@ HAKMEM_WRAP_ENV_CACHE=1
```
- **Status**: ❌ FROZENMixed **-1.44%** regression→ default OFF, do not pursue
- **Reason**: TLS overhead > benefit in Mixed workload
- **Phase 4 D3Alloc Gate Shape** 🔬 NEUTRAL (research only):
```sh
HAKMEM_ALLOC_GATE_SHAPE=1
```
- **Status**: NEUTRALMixed 10-run: Mean **+0.56%** / Median **-0.5%**)→ default OFF
- **Effect**: `tiny_alloc_gate_fast()` の分岐形を簡素化(`tiny_route_get()` と release logging branch を回避)
- v2 系は触らないC7_SAFE では Pool v2 / Tiny v2 は常時 OFF
- FREE_POLICY/THP を触る実験例(現在の HEAD では必須ではなく、組み合わせによっては微マイナスになる場合もある):
```sh