There was an error while loading. Please reload this page.
1 parent 62d03a5 commit 307f5a0Copy full SHA for 307f5a0
1 file changed
gc/default/default.c
@@ -466,8 +466,8 @@ enum gc_mode {
466
467
typedef struct rb_objspace {
468
struct {
469
+ alignas(64) size_t increase;
470
size_t limit;
- size_t increase;
471
#if MALLOC_ALLOCATED_SIZE
472
size_t allocated_size;
473
size_t allocations;
@@ -586,7 +586,7 @@ typedef struct rb_objspace {
586
size_t old_objects_limit;
587
588
#if RGENGC_ESTIMATE_OLDMALLOC
589
- size_t oldmalloc_increase;
+ alignas(64) size_t oldmalloc_increase;
590
size_t oldmalloc_increase_limit;
591
#endif
592
0 commit comments