Skip to content

hmon: use internal memory allocator#311

Draft
arkjedrz wants to merge 1 commit into
eclipse-score:mainfrom
qorix-group:arkjedrz_protected-memory-alloc
Draft

hmon: use internal memory allocator#311
arkjedrz wants to merge 1 commit into
eclipse-score:mainfrom
qorix-group:arkjedrz_protected-memory-alloc

Conversation

@arkjedrz

@arkjedrz arkjedrz commented Jul 14, 2026

Copy link
Copy Markdown
Contributor
  • Provide ProtectedMemoryAllocator - an arena allocator working on mmap-provided memory region.
  • Add allocator_capacity builder parameter.
  • Replace std::sync::Arc with sync::ArcIn from baselibs.
  • Use FixedCapacityVec for active deadlines in deadline monitor.
  • Update deprecated target names in Bazel files.

WIP: awaits for changes to baselibs to be merged, update build system files once done. This prevents CI workflows from working.

Resolves #117

@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: 4bf4f97f-8d6a-48bd-9909-5fc70eda85b7
Computing main repo mapping: 
ERROR: <builtin>: fetching local_repository rule //:score_baselibs+: java.io.IOException: The repository's path is "../baselibs" (absolute: "/home/runner/work/lifecycle/baselibs") but it does not exist or is not a directory.
ERROR: Error computing the main repository mapping: error during computation of main repo mapping: The repository's path is "../baselibs" (absolute: "/home/runner/work/lifecycle/baselibs") but it does not exist or is not a directory.

@arkjedrz arkjedrz force-pushed the arkjedrz_protected-memory-alloc branch from 647f2c3 to 745e743 Compare July 14, 2026 10:38
@arkjedrz arkjedrz requested a deployment to workflow-approval July 14, 2026 10:38 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval July 14, 2026 10:38 — with GitHub Actions Waiting
- Provide `ProtectedMemoryAllocator` - an arena allocator working on mmap-provided memory region.
- Add `allocator_capacity` builder parameter.
- Replace `std::sync::Arc` with `sync::ArcIn` from `baselibs`.
- Use `FixedCapacityVec` for active deadlines in deadline monitor.
- Update deprecated target names in Bazel files.
@arkjedrz arkjedrz force-pushed the arkjedrz_protected-memory-alloc branch from 745e743 to 3c8569b Compare July 15, 2026 06:40
@arkjedrz arkjedrz requested a deployment to workflow-approval July 15, 2026 06:40 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval July 15, 2026 06:40 — with GitHub Actions Waiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

Use memory protected allocator

1 participant