This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Commit 8a61b43
committed
Fix issue 17413: Prevent deadlock in the GC init
If the program during initialization in the pressing memory
environment died with the Error thrown by the GC, GC would
not be usable anymore. However, dso registry unregistration
will try to removeRanges. This would cause a deadlock in the GC,
preventing the exit of the program. This commit prevents GC entering
the recursive lock from the chain GC.fullcollect() -> Error -> dso_registry
-> GC.removeRange.1 parent d5088da commit 8a61b43
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
1096 | | - | |
| 1096 | + | |
1097 | 1097 | | |
1098 | 1098 | | |
1099 | 1099 | | |
| |||
2374 | 2374 | | |
2375 | 2375 | | |
2376 | 2376 | | |
| 2377 | + | |
2377 | 2378 | | |
2378 | 2379 | | |
2379 | 2380 | | |
2380 | 2381 | | |
2381 | 2382 | | |
2382 | 2383 | | |
| 2384 | + | |
2383 | 2385 | | |
2384 | 2386 | | |
2385 | 2387 | | |
| |||
2395 | 2397 | | |
2396 | 2398 | | |
2397 | 2399 | | |
| 2400 | + | |
2398 | 2401 | | |
2399 | 2402 | | |
2400 | 2403 | | |
| |||
0 commit comments