Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Span: Rename IsReferenceFree to IsReferenceOrContainsReferences #16093

Merged
merged 1 commit into from
Feb 12, 2017

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Feb 12, 2017

  • Rename IsReferenceFree to IsReferenceOrContainsReferences for consistency with #14047
  • Remove IsReferenceFreeCore micro-optimization that is actually hurting. This code runs just once and
    it is cheaper to do a check via reflection than to spend time in the JIT to optimize the extra code.
  • Re-enabled disables test

- Rename IsReferenceFree to IsReferenceOrContainsReferences for consistency with #14047
- Remove IsReferenceFreeCore micro-optimization that is actually hurting. This code runs just once and
it is cheaper to do a check via reflection than to spend time in the JIT to optimize the extra code.
- Re-enabled disables test
@jkotas
Copy link
Member Author

jkotas commented Feb 12, 2017

cc @ahsonkhan

@jkotas
Copy link
Member Author

jkotas commented Feb 12, 2017

@dotnet-bot test Innerloop Windows_NT Debug Build and Test please

@karelz karelz changed the title Rename IsReferenceFree to IsReferenceOrContainsReferences Span: Rename IsReferenceFree to IsReferenceOrContainsReferences Feb 12, 2017
@jkotas jkotas merged commit 73e25c0 into dotnet:master Feb 12, 2017
@karelz karelz modified the milestone: 2.0.0 Feb 13, 2017
@ahsonkhan
Copy link
Member

Has issue #14484 been resolved since the test is now enabled?

I thought we were waiting on issue #13681.
https://github.com/dotnet/coreclr/blob/master/src/mscorlib/src/System/Span.cs#L219

@jkotas
Copy link
Member Author

jkotas commented Feb 13, 2017

Yes, #14484 is resolved. I have closed it. It was blocked on GetItem implementation in fast span that was added recently.

#13681 should still stay open.

@jkotas jkotas deleted the IsReferenceOrContainsReferences branch February 13, 2017 22:04
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…efx#16093)

- Rename IsReferenceFree to IsReferenceOrContainsReferences for consistency with dotnet/corefx#14047
- Remove IsReferenceFreeCore micro-optimization that is actually hurting. This code runs just once and
it is cheaper to do a check via reflection than to spend time in the JIT to optimize the extra code.
- Re-enabled disables test

Commit migrated from dotnet/corefx@73e25c0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants