Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c016a94c
Commit
c016a94c
authored
Sep 12, 2008
by
Simon Marlow
Browse files
Fix retainer profiling (
#2576
)
parent
fdd7a41e
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/RetainerProfile.c
View file @
c016a94c
...
...
@@ -1843,7 +1843,7 @@ computeRetainerSet( void )
// for retainer profilng.
for
(
weak
=
weak_ptr_list
;
weak
!=
NULL
;
weak
=
weak
->
link
)
// retainRoot((StgClosure *)weak);
retainRoot
((
StgClosure
**
)
&
weak
,
NULL
);
retainRoot
(
NULL
,
(
StgClosure
**
)
&
weak
);
// Consider roots from the stable ptr table.
markStablePtrTable
(
retainRoot
,
NULL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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