Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yminsky committed Feb 11, 2024
1 parent 0f8ea69 commit 7c6e1c0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions book/garbage-collector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,13 +573,13 @@ Benchmark for mutable, immutable
barrier_bench.exe [COLUMN ...]

Columns that can be specified are:
time - Number of nano secs taken.
cycles - Number of CPU cycles (RDTSC) taken.
alloc - Allocation of major, minor and promoted words.
gc - Show major and minor collections per 1000 runs.
percentage - Relative execution time as a percentage.
speedup - Relative execution cost as a speedup.
samples - Number of samples collected for profiling.
time - Number of nano secs taken.
cycles - Number of CPU cycles (RDTSC) taken.
alloc - Allocation of major, minor and promoted words.
gc - Show major and minor collections per 1000 runs.
percentage - Relative execution time as a percentage.
speedup - Relative execution cost as a speedup.
samples - Number of samples collected for profiling.
...
```

Expand All @@ -590,7 +590,7 @@ be freed when it's no longer in use, either via the GC sweeping it or the
program terminating. It's sometimes useful to run extra code just before a
value is freed by the GC, for example, to check that a file descriptor has
been closed, or that a log message is recorded. [values/finalizer functions
for]{.idx}[finalizers/in grabage collection]{.idx}[garbage
for]{.idx}[finalizers/in garbage collection]{.idx}[garbage
collection/finalizer functions]{.idx}

::: {data-type=note}
Expand Down

0 comments on commit 7c6e1c0

Please sign in to comment.