Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alfredo Di Napoli
GHC
Commits
da117270
Commit
da117270
authored
Aug 10, 2018
by
Ben Gamari
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "rts: Ensure that the_gc_thread is aligned"
This reverts commit
87a79e39
.
parent
1a0a971b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
rts/sm/GC.c
rts/sm/GC.c
+1
-5
No files found.
rts/sm/GC.c
View file @
da117270
...
...
@@ -128,11 +128,7 @@ uint32_t mutlist_MUTVARS,
gc_thread
**
gc_threads
=
NULL
;
#if !defined(THREADED_RTS)
/* Use conservative alignment since we will cast this to a gc_thread and
* consequently the compiler may assume it is aligned. See #15482.
*/
StgWord8
the_gc_thread
[
sizeof
(
gc_thread
)
+
64
*
sizeof
(
gen_workspace
)]
__attribute__
((
aligned
(
sizeof
(
W_
))));
StgWord8
the_gc_thread
[
sizeof
(
gc_thread
)
+
64
*
sizeof
(
gen_workspace
)];
#endif
// Number of threads running in *this* GC. Affects how many
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment