Skip to content

Conversation

@jonathanpeppers
Copy link
Member

@jonathanpeppers jonathanpeppers commented Jul 24, 2024

There is an API < 14 code path, that seems like we can just remove and tread all local refs as indirect.

This might speed up JNIEnv.IdentityHash a very small amount, as it no longer checks a static bool on each call.

There is an API < 14 code path, that seems like we can just *remove*
and tread all local refs as indirect.

This might speed up `IdentityHash.IdentityHash` a very small amount,
as it no longer checks a `static bool` on each call.
@jonathanpeppers jonathanpeppers marked this pull request as ready for review July 25, 2024 13:26
@jonpryor jonpryor merged commit 2f93f76 into dotnet:main Jul 25, 2024
@jonathanpeppers jonathanpeppers deleted the LocalRefsAreIndirect branch July 25, 2024 15:21
grendello added a commit that referenced this pull request Jul 26, 2024
* main:
  [Xamarin.Android.Build.Tasks] Fix `LogCodedWarning` usage (#9148)
  [xaprepare] Remove Mono as required component (#9144)
  $(AndroidPackVersionSuffix)=rc.1; net9 is 35.0.0-rc.1 (#9143)
  [monodroid] treat `LocalRefsAreIndirect` as always true (#9138)
  [Mono.Android] fix leaking lrefs in `TypeManager` (#9136)
  [ci] Ignore unsigned bundletool.jar content (#9139)
  Localized file check-in by OneLocBuild Task (#9140)
  [tests] fix 1,170 build warnings (#9137)
  LEGO: Merge pull request 9141
  Bump to xamarin/monodroid@d1d43ab161 (#9130)
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2024
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.

2 participants