Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 1236158

Browse files
committed
Merge pull request #4341 from janvorli/port-fix-bricktable-corruption
Fix brick table issue on Unix
2 parents 1e966cc + 40fc9de commit 1236158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gc/gc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11177,7 +11177,7 @@ void gc_heap::adjust_limit_clr (uint8_t* start, size_t limit_size,
1117711177
b++;
1117811178
dprintf (3, ("Allocation Clearing bricks [%Ix, %Ix[",
1117911179
b, brick_of (align_on_brick (start + limit_size))));
11180-
short* x = &brick_table [b];
11180+
volatile short* x = &brick_table [b];
1118111181
short* end_x = &brick_table [brick_of (align_on_brick (start + limit_size))];
1118211182

1118311183
for (;x < end_x;x++)

0 commit comments

Comments
 (0)