Commit 3e27334
authored
Demote re-registered nmethods (#336)
If an nmethod is in the mature roots and the nmethod is re-registered
due to code patching, the nmethod will appear in both the nursery roots
and the mature roots for one collection, causing some roots to be
scanned twice. This PR removes an nmethod from the mature roots, when
the nmethod is re-registered, so that the nmethod will only be present
in the nursery.1 parent 48128b8 commit 3e27334
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
515 | 522 | | |
516 | 523 | | |
517 | 524 | | |
| |||
0 commit comments