Skip to content

v6-36: Record alignment of class in dictionary and use in TStreamerInfo#21976

Open
pcanal wants to merge 24 commits intoroot-project:v6-36-00-patchesfrom
pcanal:v636-tclass-alignof
Open

v6-36: Record alignment of class in dictionary and use in TStreamerInfo#21976
pcanal wants to merge 24 commits intoroot-project:v6-36-00-patchesfrom
pcanal:v636-tclass-alignof

Conversation

@pcanal
Copy link
Copy Markdown
Member

@pcanal pcanal commented Apr 20, 2026

Backport of #21669

pcanal and others added 23 commits April 20, 2026 10:34
Includes alignment of allocatation of emulated objects in container
Handle alignment for Emulated Collection of pointer and numerical types
Since align is a power of 2 the modulo may be written as (offset & (align - 1)) (assuming offset is non-negative)

Co-authored-by: silverweed <giacomo.parolini@cern.ch>
as the fall back when missing alignment information.
Note this is not quite complete, it could also report the alignment when customized at the
data member level but it currently does not
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 20, 2026

Test Results

    18 files      18 suites   2d 15h 2m 24s ⏱️
 2 753 tests  2 751 ✅  1 💤 1 ❌
47 849 runs  47 836 ✅ 12 💤 1 ❌

For more details on these failures, see this check.

Results for commit 4fd0297.

♻️ This comment has been updated with latest results.

@pcanal pcanal reopened this Apr 20, 2026
@pcanal pcanal closed this Apr 21, 2026
@pcanal pcanal reopened this Apr 21, 2026
@pcanal pcanal force-pushed the v636-tclass-alignof branch from 3b051c8 to 4fd0297 Compare April 21, 2026 02:10
Copy link
Copy Markdown
Member

@hahnjo hahnjo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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