Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: fix typos and grammar #51547

Merged
merged 7 commits into from
Oct 8, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions doc/src/devdocs/valgrind.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ assumption works fine in most instances but fails miserably for a just-in-time c
`julia`. For this reason it is crucial to pass `--smc-check=all-non-file` to `valgrind`, else
code may crash or behave unexpectedly (often in subtle ways).

In some cases, to better detect memory errors using Valgrind it can help to compile `julia` with
In some cases, to better detect memory errors using Valgrind, it can help to compile `julia` with
memory pools disabled. The compile-time flag `MEMDEBUG` disables memory pools in Julia, and
`MEMDEBUG2` disables memory pools in FemtoLisp. To build `julia` with both flags, add the following
line to `Make.user`:
Expand All @@ -20,7 +20,7 @@ line to `Make.user`:
CFLAGS = -DMEMDEBUG -DMEMDEBUG2
```

Another thing to note: if your program uses multiple workers processes, it is likely that you
Another thing to note: if your program uses multiple worker processes, it is likely that you
want all such worker processes to run under Valgrind, not just the parent process. To do this,
pass `--trace-children=yes` to `valgrind`.

Expand Down Expand Up @@ -57,7 +57,7 @@ to `valgrind` as well.

## Additional spurious warnings

This section covers Valgrind warnings which cannot be added to the
This section covers Valgrind warnings that cannot be added to the
suppressions file yet are nonetheless safe to ignore.

### Unhandled rr system calls
Expand All @@ -73,7 +73,7 @@ when julia tries to detect whether it is running under rr:
--xxxxxx-- WARNING: unhandled amd64-linux syscall: 1008
--xxxxxx-- You may be able to write your own handler.
--xxxxxx-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--xxxxxx-- Nevertheless we consider this a bug. Please report
--xxxxxx-- Nevertheless, we consider this a bug. Please report
masterujjval marked this conversation as resolved.
Show resolved Hide resolved
--xxxxxx-- it at http://valgrind.org/support/bug_reports.html.
```

Expand Down