forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GCRefMap for generic method calls via Unboxing stub (dotnet#1304)
Crossgen2 was generating GCRefMap for calls to generic methods via unboxing stubs incorrectly. With unboxing stub, the caller doesn't pass in an extra generic parameter since the reference to the boxed value type passed to the stub serves that purpose. But the GetCallRefMap method was generating GCRefMap entry for the extra generic argument, which was leading to a crash when GC was scanning the arguments.
- Loading branch information
Showing
3 changed files
with
13 additions
and
9 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
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
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