Skip to content

Conversation

@bgirard
Copy link

@bgirard bgirard commented Jul 8, 2024

Summary:
Let's add the a new JSI API to register the thread. This is a fairly Hermes specific need but it wouldn't hurt another runtime. This function is really an optional hint. This allows Hermes sampling to correctly work in Bridgeless/Activity.

Changelog:

[General][Added] - Add experimental api to JSRuntimeFactory to initialize runtime on js thread

Reviewed By: RSNara

Differential Revision: D58787655

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jul 8, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58787655

Summary:
Let's add the a new JSRuntime API  to register the thread. This allows Hermes sampling to correctly work in Bridgeless/Activity.

## Changelog:
[General][Added] - Add experimental api to JSRuntimeFactory to initialize runtime on js thread

Reviewed By: RSNara

Differential Revision: D58787655
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58787655

@bgirard bgirard force-pushed the export-D58787655 branch from b63b16a to a4b224f Compare July 8, 2024 15:56
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 21,285,118 +4
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 24,481,997 +8
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: ead50d6
Branch: main

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c9fbc05.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jul 8, 2024
@github-actions
Copy link

github-actions bot commented Jul 8, 2024

This pull request was successfully merged by Benoit Girard in c9fbc05.

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants