Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Coreclr update#17269

Merged
jkotas merged 2 commits into
dotnet:masterfrom
rahku:coreclrUpdate
Mar 18, 2017
Merged

Coreclr update#17269
jkotas merged 2 commits into
dotnet:masterfrom
rahku:coreclrUpdate

Conversation

@rahku
Copy link
Copy Markdown
Contributor

@rahku rahku commented Mar 18, 2017

No description provided.

dotnet-bot and others added 2 commits March 18, 2017 02:20
@rahku
Copy link
Copy Markdown
Contributor Author

rahku commented Mar 18, 2017

@Maoni0 below test is failing in corefx
System.Tests.GCTests.GetAllocatedBytesForCurrentThread
It seems to be related to your change dotnet/coreclr@8bc067c

@rahku
Copy link
Copy Markdown
Contributor Author

rahku commented Mar 18, 2017

System.Tests.GCTests.GetAllocatedBytesForCurrentThread(size: 100000) [FAIL]
22:37:21 Allocated too little: start: 85219208 end: 85219208 size: 100000
22:37:21 Expected: True
22:37:21 Actual: False

@jkotas
Copy link
Copy Markdown
Member

jkotas commented Mar 18, 2017

This is known issue https://github.com/dotnet/corefx/issues/16606 cc @swgillespie

This means that @Maoni0 's fix have not fully fixed the issue.

@jkotas
Copy link
Copy Markdown
Member

jkotas commented Mar 18, 2017

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

@jkotas jkotas merged commit 338ba6c into dotnet:master Mar 18, 2017
@Maoni0
Copy link
Copy Markdown
Member

Maoni0 commented Mar 18, 2017

I will take a look tomorrow

@Maoni0
Copy link
Copy Markdown
Member

Maoni0 commented Mar 18, 2017

yeah the fixes I made wouldn't affect this test as it was allocating on LOH (the fixes I made only affected SOH allocs). I just created a PR to fix this issue.

dotnet-bot pushed a commit that referenced this pull request Mar 28, 2018
* Adding Memory.Pin() to eventually replace Memory.Retain(bool)

* Fix copy/paste error and return default for when object is null.

* Fix XML comments.

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
ahsonkhan pushed a commit that referenced this pull request Mar 29, 2018
* Adding Memory.Pin() to eventually replace Memory.Retain(bool) (#17269)

* Adding Memory.Pin() to eventually replace Memory.Retain(bool)

* Fix copy/paste error and return default for when object is null.

* Fix XML comments.

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>

* Add Memory.Pin to the ref and add tests.

* Add Pin tests

* Update calls to Retain(true) to now call Pin()

* Remove extra space in tests.

* Add Pin to the ApiCompatBaseline for uapaot.
dotnet-bot pushed a commit that referenced this pull request Mar 30, 2018
* Adding Memory.Pin() to eventually replace Memory.Retain(bool)

* Fix copy/paste error and return default for when object is null.

* Fix XML comments.

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
dotnet-bot pushed a commit that referenced this pull request Mar 30, 2018
* Adding Memory.Pin() to eventually replace Memory.Retain(bool)

* Fix copy/paste error and return default for when object is null.

* Fix XML comments.

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
dotnet-bot pushed a commit that referenced this pull request Mar 30, 2018
* Adding Memory.Pin() to eventually replace Memory.Retain(bool)

* Fix copy/paste error and return default for when object is null.

* Fix XML comments.

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Adding Memory.Pin() to eventually replace Memory.Retain(bool) (dotnet/corefx#17269)

* Adding Memory.Pin() to eventually replace Memory.Retain(bool)

* Fix copy/paste error and return default for when object is null.

* Fix XML comments.

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>

* Add Memory.Pin to the ref and add tests.

* Add Pin tests

* Update calls to Retain(true) to now call Pin()

* Remove extra space in tests.

* Add Pin to the ApiCompatBaseline for uapaot.


Commit migrated from dotnet/corefx@bb5c468
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.

8 participants