Commit 0e436dd
authored
Use
Motivation:
Direct use of `io.netty.util.internal.ThreadLocalRandom` and
`j.u.c.ThreadLocalRandom` could cause a lot of memory waste.
Modifications:
Use `PlatformDependent.threadLocalRandom()`.
Result:
Reduced Memory footprint.PlatformDependent.threadLocalRandom() to reduce memory footprint (#13977)1 parent 4d961d0 commit 0e436dd
1 file changed
Lines changed: 1 addition & 2 deletions
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
| 64 | + | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
0 commit comments