Commit Graph

  • 70ad1ffb87 Tiny: Enable P0→FC direct path for class7 (1KB) by default + docs Moe Charm (CI) 2025-11-09 23:15:02 +09:00
  • d9b334b968 Tiny: Enable P0 batch refill by default + docs and task update Moe Charm (CI) 2025-11-09 22:12:34 +09:00
  • 1010a961fb Tiny: fix header/stride mismatch and harden refill paths Moe Charm (CI) 2025-11-09 18:55:50 +09:00
  • ab68ee536d Tiny: unify adopt boundary via helper; extend simple refill to class5/6; front refill tuning for class5/6 Moe Charm (CI) 2025-11-09 17:31:30 +09:00
  • 270109839a Tiny: extend simple batch refill to class5/6; add adopt_bind_if_safe helper and apply in registry scan; branch hints Moe Charm (CI) 2025-11-09 17:11:52 +09:00
  • 33852add48 Tiny: adopt boundary consolidation + class7 simple batch refill + branch hints Moe Charm (CI) 2025-11-09 17:03:11 +09:00
  • 47797a3ba0 Tiny: enable class7 (1024B) fast_cap by default (64); add 1T A/B switch for Remote Side (HAKMEM_TINY_ASSUME_1T) Moe Charm (CI) 2025-11-09 17:00:37 +09:00
  • 83bb8624f6 Tiny: fix remote sentinel leak → SEGV; add defense-in-depth; PoolTLS: refill-boundary remote drain; build UX help; quickstart docs Moe Charm (CI) 2025-11-09 16:49:34 +09:00
  • 0da9f8cba3 Phase 7 + Pool TLS 1.5b stabilization:\n- Add build hygiene (dep tracking, flag consistency, print-flags)\n- Add build.sh + verify_build.sh (unified recipe, freshness check)\n- Quiet verbose logs behind HAKMEM_DEBUG_VERBOSE\n- A/B free safety via HAKMEM_TINY_SAFE_FREE (mincore strict vs boundary)\n- Tweak Tiny header path to reduce noise; Pool TLS free guard optimized\n- Fix mimalloc link retention (--no-as-needed + force symbol)\n- Add docs/BUILD_PHASE7_POOL_TLS.md (cheatsheet) Moe Charm (CI) 2025-11-09 11:50:18 +09:00
  • cf5bdf9c0a feat: Pool TLS Phase 1 - Lock-free TLS freelist (173x improvement, 2.3x vs System) Moe Charm (CI) 2025-11-08 23:53:25 +09:00
  • 9cd266c816 refactor: Guard SuperSlab expansion debug logs + Update CURRENT_TASK Moe Charm (CI) 2025-11-08 22:02:09 +09:00
  • 616070cf71 fix: 100% stability - correct bitmap semantics + race condition fix Moe Charm (CI) 2025-11-08 21:35:43 +09:00
  • 707056b765 feat: Phase 7 + Phase 2 - Massive performance & stability improvements Moe Charm (CI) 2025-11-08 17:08:00 +09:00
  • 7975e243ee Phase 7 Task 3: Pre-warm TLS cache (+180-280% improvement!) Moe Charm (CI) 2025-11-08 12:54:52 +09:00
  • 8b00e43965 Doc: Add Phase 7-1 complete documentation to CLAUDE.md Moe Charm (CI) 2025-11-08 11:50:43 +09:00
  • ef2d1caa2a Phase 7-1.3: Simplify HAK_RET_ALLOC macro definition (-35% LOC, -100% #undef) Moe Charm (CI) 2025-11-08 11:49:21 +09:00
  • 4983352812 Perf: Phase 7-1.3 - Hybrid mincore + Macro fix (+194-333%) Moe Charm (CI) 2025-11-08 04:50:41 +09:00
  • 24beb34de6 Fix: Phase 7-1.2 - Page boundary SEGV in fast free path Moe Charm (CI) 2025-11-08 03:46:35 +09:00
  • 48fadea590 Phase 7-1.1: Fix 1024B crash (header validation + malloc fallback) Moe Charm (CI) 2025-11-08 03:35:07 +09:00
  • 6b1382959c Phase 7-1 PoC: Region-ID Direct Lookup (+39%~+436% improvement!) Moe Charm (CI) 2025-11-08 03:18:17 +09:00
  • 8eda018475 Doc: Unify debug logging policy with HAKMEM_BUILD_RELEASE Moe Charm (CI) 2025-11-08 01:48:40 +09:00
  • 93e788bd52 Perf: Make diagnostic logging compile-time disabled in release builds Moe Charm (CI) 2025-11-08 01:46:37 +09:00
  • faed928969 Perf: Optimize remote queue drain to skip when empty Moe Charm (CI) 2025-11-08 01:44:24 +09:00
  • 0b1c825f25 Fix: CRITICAL multi-threaded freelist/remote queue race condition Moe Charm (CI) 2025-11-08 01:35:45 +09:00
  • b7021061b8 Fix: CRITICAL double-allocation bug in trc_linear_carve() Moe Charm (CI) 2025-11-08 01:18:37 +09:00
  • a430545820 Phase 6-2.8: SuperSlab modular refactoring (665 lines → 104 lines) Moe Charm (CI) 2025-11-07 23:05:33 +09:00
  • 3523e02e51 Phase 6-2.7: Add fallback to tiny_remote_side_get() (partial fix) Moe Charm (CI) 2025-11-07 22:43:04 +09:00
  • b8ed2b05b4 Phase 6-2.6: Fix slab_data_start() consistency in refill/validation paths Moe Charm (CI) 2025-11-07 22:34:24 +09:00
  • d2f0d84584 Phase 6-2.5: Fix SuperSlab alignment bug + refactor constants Moe Charm (CI) 2025-11-07 21:45:20 +09:00
  • c9053a43ac Phase 6-2.3~6-2.5: Critical bug fixes + SuperSlab optimization (WIP) Moe Charm (CI) 2025-11-07 20:31:01 +09:00
  • 382980d450 Phase 6-2.4: Fix SuperSlab free SEGV: remove guess loop and add memory readability check; add registry atomic consistency (base as _Atomic uintptr_t with acq/rel); add debug toggles (SUPER_REG_DEBUG/REQTRACE); update CURRENT_TASK with results and next steps; capture suite results. Moe Charm (CI) 2025-11-07 18:07:48 +09:00
  • b6d9c92f71 Fix: SuperSlab guess loop & header magic SEGV (random_mixed/mid_large_mt) Moe Charm (CI) 2025-11-07 17:34:24 +09:00
  • 3237f16849 Fix report: P0 batch refill active counter bug documented; add flow diagram and patch excerpt; CLAUDE phase 6-2.3 notes; CURRENT_TASK updated with root cause, fix, and open items. Moe Charm (CI) 2025-11-07 12:39:53 +09:00
  • f6b06a0311 Fix: Active counter double-decrement in P0 batch refill (4T crash → stable) Moe Charm (CI) 2025-11-07 12:37:23 +09:00
  • 8f3095fb85 CI-safe debug runners: add ASan LD_PRELOAD + UBSan mailbox targets; add asan_preload script; document sanitizer-safe workflows and results in CURRENT_TASK.md (debug complete). Moe Charm (CI) 2025-11-07 12:09:28 +09:00
  • 25a81713b4 Fix: Move g_hakmem_lock_depth++ to function start (27% → 70% success) Moe Charm (CI) 2025-11-07 03:03:07 +09:00
  • 77ed72fcf6 Fix: LIBC/HAKMEM mixed allocation crashes (0% → 80% success) Moe Charm (CI) 2025-11-07 02:48:20 +09:00
  • 9f32de4892 Fix: free() invalid pointer crash (partial fix - 0% → 60% success) Moe Charm (CI) 2025-11-07 02:25:12 +09:00
  • 1da8754d45 CRITICAL FIX: TLS 未初期化による 4T SEGV を完全解消 Moe Charm (CI) 2025-11-07 01:27:04 +09:00
  • f454d35ea4 Perf: getenv ホットパスボトルネック削除 (8.51% → 0%) Moe Charm (CI) 2025-11-07 01:15:28 +09:00
  • db833142f1 Fix: malloc 初期化デッドロックを解消 Moe Charm (CI) 2025-11-07 00:37:33 +09:00
  • cd6507468e Fix critical SuperSlab accounting bug + ACE improvements Moe Charm (CI) 2025-11-06 22:26:58 +09:00
  • 602edab87f Phase 1: Box Theory refactoring + include reduction Moe Charm (CI) 2025-11-06 21:54:12 +09:00
  • 5ea6c1237b Tiny: add per-class refill count tuning infrastructure (ChatGPT) Moe Charm (CI) 2025-11-05 17:45:11 +09:00
  • 4978340c02 Tiny/SuperSlab: implement per-class registry optimization for fast refill scan Moe Charm (CI) 2025-11-05 17:02:31 +09:00
  • 582ebdfd4f CURRENT_TASK: Registry 線形スキャン ボトルネック特定 (2025-11-05) Moe Charm (CI) 2025-11-05 16:47:04 +09:00
  • 859027e06c Perf Analysis: Registry 線形スキャンがボトルネック (28.51% CPU) Moe Charm (CI) 2025-11-05 16:44:43 +09:00
  • 3969557052 Merge pull request #1 from moe-charm/claude/nyan-branch-test-011CUp3Ez6vhR5V1ZDZS5sC4 moe-charm 2025-11-05 16:18:34 +09:00
  • 5ec9d1746f Option A (Full): Inline TLS cache access in malloc() Claude 2025-11-05 07:07:47 +00:00
  • d099719141 Fix #2: First-Fit Adopt Loop optimization Claude 2025-11-05 06:59:28 +00:00
  • 1d80cc66fe Add refill bottleneck analysis document Claude 2025-11-05 06:42:41 +00:00
  • af938fe378 Add RDTSC profiling - Identify refill bottleneck Claude 2025-11-05 06:35:03 +00:00
  • 6550cd3970 Remove overhead: diagnostic + counters for fast path Claude 2025-11-05 06:25:29 +00:00
  • 08593fea14 Fix: Box Theory routing - direct call before guards Claude 2025-11-05 06:12:32 +00:00
  • 0c66991393 WIP: Unify fast path to Box Theory (experimental) Claude 2025-11-05 06:06:34 +00:00
  • 31af3eab27 Add malloc routing analysis and refill success tracking Claude 2025-11-05 05:56:02 +00:00
  • 872622b78b Phase 6-8: RDTSC cycle profiling - Critical bottleneck discovered! Claude 2025-11-05 05:44:18 +00:00
  • 3429ed4457 Phase 6-7: Dual Free Lists (Phase 2) - Mixed results Claude 2025-11-05 05:35:06 +00:00
  • e3514e7fa9 Phase 6-6: Batch Refill Optimization (Phase 3) - Success! Claude 2025-11-05 05:27:18 +00:00
  • 494205435b Add debug counters for refill analysis - Surprising discovery Claude 2025-11-05 05:19:32 +00:00
  • 3e4e90eadb Phase 6-5: Entry Point Optimization (Phase 1) - Unexpected results Claude 2025-11-05 05:10:02 +00:00
  • 09e1d89e8d Phase 6-4: Larson benchmark optimizations - LUT size-to-class Claude 2025-11-05 04:58:03 +00:00
  • b64cfc055e Implement Option A: Fast Path priority optimization (Phase 6-4) Claude 2025-11-05 04:44:50 +00:00
  • f0c87d0cac Add Larson performance analysis and optimized profile Claude 2025-11-05 04:03:10 +00:00
  • b4e4416544 Add mimalloc-bench submodule and simplify larson_hakmem build Claude 2025-11-05 03:43:50 +00:00
  • 52386401b3 Debug Counters Implementation - Clean History Moe Charm (CI) 2025-11-05 12:31:14 +09:00