Uh oh!
There was an error while loading. Please reload this page.
JIT: fix interaction of GDV and boxing - #60355
Conversation
ghost
commented
Oct 13, 2021
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsIn #56126 we disabled GDV if the object being boxed came from a call with a Fix this and enable GDV for these cases by inserting the box allocation before
|
AndyAyersMS
commented
Oct 13, 2021
@EgorBo PTAL Quite a few diffs as we're changing the placement of a newobj call. Sometimes doing it earlier is better, sometimes it is not. Overall something of a wash. aspnet.run.windows.x64.checked.mch:Detail diffsbenchmarks.run.windows.x64.checked.mch:Detail diffscoreclr_tests.pmi.windows.x64.checked.mch:Detail diffslibraries.crossgen2.windows.x64.checked.mch:Detail diffslibraries.pmi.windows.x64.checked.mch:Detail diffslibraries_tests.pmi.windows.x64.checked.mch:Detail diffs |
AndyAyersMS
commented
Oct 13, 2021
/azp run runtime-coreclr libraries-pgo |
|
Azure Pipelines successfully started running 1 pipeline(s). |
AndyAyersMS
commented
Oct 13, 2021
/azp run runtime-coreclr pgo |
|
Azure Pipelines successfully started running 1 pipeline(s). |
AndyAyersMS
commented
Oct 13, 2021
Seeing some failures like: so this will need some more work. |
In dotnet#56126 we disabled GDV if the object being boxed came from a call with a hidden return buffer pointer. Fix this and enable GDV for these cases by inserting the box allocation before the call.
AndyAyersMS
commented
Oct 14, 2021
The issue is that in some cases, when generating the box newobj we actually create several statements, so all of them need to move as a group. |
794f1d3 to
24f65b1CompareAndyAyersMS
commented
Oct 19, 2021
/azp run runtime-coreclr libraries-pgo |
|
Azure Pipelines successfully started running 1 pipeline(s). |
AndyAyersMS
commented
Oct 19, 2021
Updated diffs aspnet.run.windows.x64.checked.mch:Detail diffsbenchmarks.run.windows.x64.checked.mch:Detail diffscoreclr_tests.pmi.windows.x64.checked.mch:Detail diffslibraries.crossgen2.windows.x64.checked.mch:Detail diffslibraries.pmi.windows.x64.checked.mch:Detail diffslibraries_tests.pmi.windows.x64.checked.mch:Detail diffs |
AndyAyersMS
commented
Oct 19, 2021
I am seeing jit asserts in the dll import generator tests on Arm64 (which are new: #59579) Not sure if this is a PGO specific failure yet. |
AndyAyersMS
commented
Oct 19, 2021
Other than the failure above (which I suspect is unrelated) I think this is ready to go. @EgorBo PTAL |
AndyAyersMS
commented
Oct 19, 2021
dll import generator arm64 test runs are also failing in jitstress, eg https://dev.azure.com/dnceng/public/_build/results?buildId=1429275&view=ms.vss-test-web.build-test-results-tab So it looks like these failures are more widespread. |
AndyAyersMS
commented
Oct 19, 2021
Opened #60624 for these new failures. |
In #56126 we disabled GDV if the object being boxed came from a call with a
hidden return buffer pointer.
Fix this and enable GDV for these cases by inserting the box allocation before
the call.