Commit dc54659
committed
Do not mmap the jitdump file on macOS
On macOS, we don't need to call mmap because samply has already detected
the file path during the call to `open` before (it interposes `open` with
a preloaded library), and because the mmap call can be slow.1 parent 3f9e24d commit dc54659
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1055 | 1055 | | |
1056 | 1056 | | |
1057 | 1057 | | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1058 | 1062 | | |
1059 | 1063 | | |
1060 | 1064 | | |
| |||
1077 | 1081 | | |
1078 | 1082 | | |
1079 | 1083 | | |
| 1084 | + | |
1080 | 1085 | | |
1081 | 1086 | | |
1082 | 1087 | | |
| |||
0 commit comments