Skip to content

Conversation

@vargaz
Copy link
Contributor

@vargaz vargaz commented Dec 19, 2021

No description provided.

@ghost
Copy link

ghost commented Dec 19, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost assigned vargaz Dec 19, 2021
@vargaz
Copy link
Contributor Author

vargaz commented Dec 19, 2021

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

This can be used to trace values from AOT code during runtime
debugging.
Previously, a try-catch clause was added to the vector Alloc
wrappers to convert the OverflowException thrown by the .ovf
opcodes to an OutOfMemoryException. This could cause EH problems on wasm
since on wasm no AOTed code should contain clauses, but this
wrapper was still AOTed for performance reasons.
Instead, add a new CIL opcode to make the .ovf opcodes throw the
OutOfMemoryException directly.
It can't handle the new bblocks added by the inline rgctx fetch code.
The slowpath contained a try-catch clause, preventing Array.Copy () from
being AOTed on WASM.
@vargaz
Copy link
Contributor Author

vargaz commented Dec 19, 2021

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Comment was made before the most recent commit for PR 62997 in repo dotnet/runtime

@vargaz vargaz changed the title Small WASM AOT changes Various WASM AOT changes Dec 19, 2021
@vargaz
Copy link
Contributor Author

vargaz commented Dec 19, 2021

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

Comment on lines 144 to +147
if (FastCopy(sourceArray, sourceIndex, destinationArray, destinationIndex, length))
return;

CopySlow(sourceArray, sourceIndex, destinationArray, destinationIndex, length, reliable);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CopySlow -> SlowCopy or rename the other one to CopyFast?

@vargaz
Copy link
Contributor Author

vargaz commented Dec 19, 2021

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@vargaz
Copy link
Contributor Author

vargaz commented Dec 19, 2021

/azp run runtime-manual

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vargaz vargaz requested a review from lambdageek December 20, 2021 01:53
@vargaz vargaz marked this pull request as ready for review December 20, 2021 09:35
@vargaz
Copy link
Contributor Author

vargaz commented Dec 20, 2021

/azp run runtime-manual

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vargaz
Copy link
Contributor Author

vargaz commented Dec 20, 2021

Failures appear unrelated

@vargaz vargaz merged commit 9ddd58a into dotnet:main Dec 20, 2021
@vargaz vargaz deleted the deopt branch December 20, 2021 23:12
@ghost ghost locked as resolved and limited conversation to collaborators Jan 20, 2022
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