-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make ReRegisterForFinalize GC test more robust (#67896)
There is no guarantee that the JIT does not introduce a temporary for the read of the fields `obj1` and `obj2` when they are passed to the function calls, which might keep them alive even when nulling out the fields. This happens when CFG is enabled, causing the test to fail. Change the test to access the fields in separate methods marked as noinline to fix the problem.
- Loading branch information
1 parent
7eb5d7b
commit 5c57f2c
Showing
1 changed file
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters