Skip to content

feat(WASM): batch queue max2 + port spz2glb memory optimizations R7 - #61

Merged
gugu23456789 merged 7 commits into
mainfrom
feature/spz-gatekeeper-2.0.4-r7
Jul 28, 2026
Merged

feat(WASM): batch queue max2 + port spz2glb memory optimizations R7#61
gugu23456789 merged 7 commits into
mainfrom
feature/spz-gatekeeper-2.0.4-r7

Conversation

@gugu23456789

Copy link
Copy Markdown
Member

R7 batch queue and WASM memory optimization port from spz2glb.

…PI from spz2glb

Add HotObjectPool, BumpAllocator, MemoryTracker (memory_pool.h) and
gk_* reserved buffer C API (wasm_buffer.h) to support chunked WASM writes.
Update CMakeLists.txt EXPORTED_FUNCTIONS and wasm-pre-check.sh REQUIRED_SYMBOLS.
…rror

gk_* functions in the header were invisible to the WASM linker.
Moved implementations to wasm_buffer.cc, keeping only declarations
in wasm_buffer.h.
Emscripten requires C symbols in EXPORTED_FUNCTIONS to have underscore
prefix (_gk_* not gk_*). Updated CMakeLists.txt and pre-check symbols.
…d failure summary (T45)

T44: Auto-detect gk_* without underscore prefix in EXPORTED_FUNCTIONS
     and auto-fix with sed. Prevents CI linker error recurrence.
T45: Add structured P0-P7 failure summary step in wasm job.
@gugu23456789
gugu23456789 merged commit c3cba5f into main Jul 28, 2026
12 checks passed
@gugu23456789
gugu23456789 deleted the feature/spz-gatekeeper-2.0.4-r7 branch July 28, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants