Skip to content

[k2] remove useless heap allocations from kphp::log::assertion#1621

Merged
PetrShumilov merged 2 commits intomasterfrom
pshumilov/make_assert_without_heap_allocations
Apr 28, 2026
Merged

[k2] remove useless heap allocations from kphp::log::assertion#1621
PetrShumilov merged 2 commits intomasterfrom
pshumilov/make_assert_without_heap_allocations

Conversation

@PetrShumilov
Copy link
Copy Markdown
Contributor

@PetrShumilov PetrShumilov commented Apr 28, 2026

  • Temporarily removed all kphp::log::* calls from the runtime allocator.
  • Ensured that kphp::log::assertion does not perform any heap allocations.

Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov added this to the next milestone Apr 28, 2026
@PetrShumilov PetrShumilov self-assigned this Apr 28, 2026
@PetrShumilov PetrShumilov added runtime Feature related to runtime k2 Affects compiler or runtime in K2 mode labels Apr 28, 2026
@PetrShumilov PetrShumilov merged commit 19ce609 into master Apr 28, 2026
7 checks passed
@PetrShumilov PetrShumilov deleted the pshumilov/make_assert_without_heap_allocations branch April 28, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

k2 Affects compiler or runtime in K2 mode runtime Feature related to runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants