ENV cleanup: Remove BG/HotMag vars & guard fprintf (Larson 52.3M ops/s)
Phase 1 完了:環境変数整理 + fprintf デバッグガード ENV変数削除(BG/HotMag系): - core/hakmem_tiny_init.inc: HotMag ENV 削除 (~131 lines) - core/hakmem_tiny_bg_spill.c: BG spill ENV 削除 - core/tiny_refill.h: BG remote 固定値化 - core/hakmem_tiny_slow.inc: BG refs 削除 fprintf Debug Guards (#if !HAKMEM_BUILD_RELEASE): - core/hakmem_shared_pool.c: Lock stats (~18 fprintf) - core/page_arena.c: Init/Shutdown/Stats (~27 fprintf) - core/hakmem.c: SIGSEGV init message ドキュメント整理: - 328 markdown files 削除(旧レポート・重複docs) 性能確認: - Larson: 52.35M ops/s (前回52.8M、安定動作✅) - ENV整理による機能影響なし - Debug出力は一部残存(次phase で対応) 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -121,9 +121,9 @@ typedef struct {
|
||||
uint16_t top; // 0..128
|
||||
uint16_t cap; // =128
|
||||
} TinyHotMag;
|
||||
static int g_hotmag_cap_default = 128; // default capacity (env override)
|
||||
static int g_hotmag_refill_default = 32; // default refill batch (env override)
|
||||
static int g_hotmag_enable = 0; // 既定OFF(A/B用)。envでON可。
|
||||
static int g_hotmag_cap_default = 128; // default capacity (fixed)
|
||||
static int g_hotmag_refill_default = 32; // default refill batch (fixed)
|
||||
static int g_hotmag_enable = 0; // 既定OFF(ENVトグル削除済み)
|
||||
static uint16_t g_hotmag_cap_current[TINY_NUM_CLASSES];
|
||||
static uint8_t g_hotmag_cap_locked[TINY_NUM_CLASSES];
|
||||
static uint16_t g_hotmag_refill_current[TINY_NUM_CLASSES];
|
||||
|
||||
Reference in New Issue
Block a user