LM/HM: heap allocations after initialization

Đang mở
#952 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp, rust
Lĩnh vực
backend

Hướng nghiên cứu

Start with the dependency AoU triage in docs/module/safety_mgt/dependency_aou_handling.rst, then inspect the cited allocation sites: health_monitor/src/rust/deadline/ffi.rs:22-34, protected_memory.rs:17, and the Launch Manager runtime uses of std::vector and std::string. The issue requires a maintainer decision to remove these allocations or justify a deviation in the Lifecycle safety concept; done means recording the verdict in the triage page and closing the issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

inspection finding

AoU aou_req__platform__no_heap_alloc_after_init (Avoidance of heap allocations after initialization) of a dependency of Lifecycle is open in the dependency AoU triage (#923, docs/module/safety_mgt/dependency_aou_handling.rst).

Component: Launch Manager, Health Monitor

Evidence: HM allocates at runtime: health_monitor/src/rust/deadline/ffi.rs:22-34 ("For now, Deadlines are kept allocated on heap individually", TODO memory pool); protected_memory.rs:17 TODO. LM uses std::vector/std::string at runtime; FixedSizeVector only in alive_monitor.

Decision needed: 'should' AoU: maintainer must either remove runtime allocations (memory pool for HM deadlines, LM state machine) or justify the deviation in the Lifecycle safety concept.

Once decided, the verdict in the triage page is updated (fulfils link, forwarded AoU, or a documented deviation) and this issue is closed.

Ngôn ngữ chính
C++
Star
7
Fork
37
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
119

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-score/lifecycle

Tất cả issue của eclipse-score/lifecycle

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.