Skip to content

Conversation

kammce
Copy link
Member

@kammce kammce commented Jul 15, 2025

Resolves #37

  • Add handled state and its usage to the exception algorithm.

Resolves #19
Resolves #72

  • Make exception control block thread_local which reduces RAM usage for
    exceptions by only allocating the amount of memory needed for the
    exception_ptr instance.

Resolves #42

  • Use memory resource for allocations over static array of bytes.
  • Add ke::exception_allocation<> header for exceptions. It contains
    the object's total size and the allocator that allocated it. This
    allocator is used when the object is freed.
  • Make the size of the default exception memory resource 64 bytes.
  • Limit RTTI hierarchy to 8 nodes.

Resolves #37

- Add handled state and its usage to the exception algorithm.

Resolves #19

- Make exception control block thread_local which reduces RAM usage for
  exceptions by only allocating the amount of memory needed for the
  `exception_ptr` instance.

Resolves #42

- Use memory resource for allocations over static array of bytes.
- Add `ke::exception_allocation<>` header for exceptions. It contains
  the object's total size and the allocator that allocated it. This
  allocator is used when the object is freed.
- Make the size of the default exception memory resource 64 bytes.
- Limit RTTI hierarchy to 8 nodes.
@kammce kammce force-pushed the thread-local-exception-ctrl-block branch from 1df3834 to 2180b49 Compare July 15, 2025 01:44
@kammce kammce merged commit e2f9d77 into main Jul 15, 2025
10 checks passed
@kammce kammce deleted the thread-local-exception-ctrl-block branch July 15, 2025 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant