Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Merge nmirror to master - #5077

Merged
MichalStrehovsky merged 9 commits into
masterfrom
nmirror
Dec 8, 2017
Merged

Merge nmirror to master#5077
MichalStrehovsky merged 9 commits into
masterfrom
nmirror

Conversation

@jkotas

@jkotas jkotas commented Dec 8, 2017

Copy link
Copy Markdown
Member

No description provided.

jkotas and others added 9 commits December 1, 2017 00:09
The existing sha256 hash based naming for readonly data blob encounters a hash collision for the following data surprisingly.

5000540002400070005500025000
2000320001400040003300015000

To fix this, this change names data blobs based on their associated field handles. In ProjectX read only data are only used for array initializations and they are always associated with a data field. This ensures a unique naming while reducing the cost of sha256 hashing.

Empty string dependency added.

Also do not explicitly require data blobs and strings with the CoreRT dependency based approach since they are always reported to CoreRT during method compilation.

[tfs-changeset: 1683122]
This is a very mild reliability and perf boost.

The issue described in dotnet/roslyn#4388 has been fixed and we no longer need to check every typed handler and compare it to MRT's System.Object EEType when looking for a handler.

[tfs-changeset: 1683270]
@MichalStrehovsky
MichalStrehovsky merged commit a45fcc4 into master Dec 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants