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
301afae5
Commit
301afae5
authored
Jun 17, 2008
by
Simon Marlow
Browse files
fix some printf formats for 64 bits
parent
bb9d6c36
Changes
2
Hide whitespace changes
Inline
Side-by-side
rts/sm/GCUtils.c
View file @
301afae5
...
...
@@ -178,7 +178,7 @@ todo_block_full (nat size, step_workspace *ws)
{
step
*
stp
;
stp
=
ws
->
step
;
trace
(
TRACE_gc
|
DEBUG_gc
,
"push todo block %p (%d words), step %d, n_todos: %d"
,
trace
(
TRACE_gc
|
DEBUG_gc
,
"push todo block %p (%
l
d words), step %d, n_todos: %d"
,
bd
->
start
,
bd
->
free
-
bd
->
u
.
scan
,
stp
->
abs_no
,
stp
->
n_todos
);
// ToDo: use buffer_todo
ACQUIRE_SPIN_LOCK
(
&
stp
->
sync_todo
);
...
...
rts/sm/Sweep.c
View file @
301afae5
...
...
@@ -70,7 +70,7 @@ sweep(step *step)
step
->
live_estimate
=
live
;
trace
(
DEBUG_gc
|
TRACE_gc
,
"sweeping: %d blocks, %d were copied, %d freed (%d%%), %d are fragmented, live estimate: %d%%"
,
trace
(
DEBUG_gc
|
TRACE_gc
,
"sweeping: %d blocks, %d were copied, %d freed (%d%%), %d are fragmented, live estimate: %
l
d%%"
,
step
->
n_old_blocks
+
freed
,
step
->
n_old_blocks
-
blocks
+
freed
,
freed
,
...
...
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