Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry pick PR #2569: JavaScript Profiler Black box tests #2818

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

aelzeiny
Copy link
Contributor

@aelzeiny aelzeiny commented Apr 2, 2024

b/326457979

This set of BlackBox tests causes Cobalt to SEGFAULT by forcing Garbage Collection to execute while the JS Profiler is running. It adds a new API to CrashLog called h5vcc.crashLog.forceGarbageCollection() for the purposes of testing. Reverts an existing revert in PR 2567. Tests are rewritten to be less CPU-intensive; expecting fewer stack frames over a longer period of time.

Test-On-Device: true


Co-authored-by: Ahmed Elzeiny [email protected]
(cherry picked from commit 30dacbc)

b/326457979

This set of BlackBox tests causes Cobalt to SEGFAULT by forcing Garbage
Collection to execute while the JS Profiler is running. It adds a new
API to CrashLog called h5vcc.crashLog.forceGarbageCollection() for the
purposes of testing. Reverts [an existing revert in PR
2567](#2567). Tests are rewritten
to be less CPU-intensive; expecting fewer stack frames over a longer
period of time.

Test-On-Device: true

---------

Co-authored-by: Ahmed Elzeiny <[email protected]>
(cherry picked from commit 30dacbc)
@aelzeiny aelzeiny changed the title JavaScript Profiler Black box tests (#2569) Cherry pick PR #2569: JavaScript Profiler Black box tests Apr 3, 2024
@aelzeiny aelzeiny requested a review from kaidokert April 3, 2024 16:22
Copy link
Member

@kaidokert kaidokert left a comment

Choose a reason for hiding this comment

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

Looks safe to go in now

@aelzeiny aelzeiny merged commit 710c7be into 24.lts.1+ Apr 3, 2024
647 checks passed
@aelzeiny aelzeiny deleted the cherry-pick-24.lts.1+-2569 branch April 3, 2024 17:12
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.

2 participants