Skip to content

Conversation

@manodasanW
Copy link
Member

  • Added AOT tests for more array scenarios including non-blittable arrays
  • Enabled them for .NET 9 to validate non-blittable array support
  • Enabled the non-blittable array support and made it not rely on Marshaler

@manodasanW manodasanW requested a review from Sergio0694 July 15, 2025 06:05
@Sergio0694
Copy link
Member

Out of curiosity, did you get any sizoscope diffs just to get an idea? I can also test with the Store if we can get a before/after build of this branch, but on top of my Marshaler<T> PR. Not entirely sure how easy to do that is though 😅

Copy link
Member

@Sergio0694 Sergio0694 left a comment

Choose a reason for hiding this comment

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

Nice!! 😄

@manodasanW manodasanW merged commit 46364a9 into dev/disable-marshaler-t-aot Jul 16, 2025
9 of 11 checks passed
@manodasanW manodasanW deleted the manodasanw/fixnonbittablearray2 branch July 16, 2025 18:56
manodasanW added a commit that referenced this pull request Jul 18, 2025
* Disable 'Marshaler<T>' on AOT

* Update 'AsAgile' extension

* Update 'StructTypeDetails<,>.GetNullableValue'

* Add AOT annotations for 'Marshaler<T>' changes

* Update non blittable 'BoxedValueIReferenceImpl<,>'

* Update 'BoxedArrayIReferenceArrayImpl<T>'

* Normalize whitespaces

* Update MatchingRefApiCompatBaseline.net8.0.txt

* Fix some warnings

* Fix new AOT warnings

* Use specialized marshallers for generic instantiations

* Fix more generic instantiation cases

* Make 'Marshaler' obsolete

* Fix ILC warnings on 'IReferenceArray<T>'

* Remove '[RequiresDynamicCode]' from 'Marshaler<T>'

* Remove unnecessary '[Obsolete]' attribute

* Tweak AOT checks

* Fix non-blittable array marshaling (#2016)

* Fix non bittable array marshaling

* Move AOT tests to .NET 9

* Fix enums

* Fix for .NET 9

* PR feedback

---------

Co-authored-by: Manodasan Wignarajah <mawign@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants