We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb9e10 commit 36b2d9cCopy full SHA for 36b2d9c
mmtk/src/object_model.rs
@@ -290,7 +290,8 @@ pub unsafe fn get_so_object_size(object: ObjectReference) -> usize {
290
dtsz + JULIA_HEADER_SIZE
291
);
292
293
- llt_align(dtsz + JULIA_HEADER_SIZE, 16)
+ // NB: Strings are aligned to 8 and not to 16
294
+ llt_align(dtsz + JULIA_HEADER_SIZE, 8)
295
} else if obj_type == jl_method_type {
296
let dtsz = std::mem::size_of::<mmtk_jl_method_t>();
297
debug_assert!(
0 commit comments