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

Include array length and promise status in V8 heap snapshots (oven-sh/WebKit#75) #16141

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

190n
Copy link
Contributor

@190n 190n commented Jan 3, 2025

What does this PR do?

When viewing a V8 heap snapshot generated by Bun, arrays now have Array (length)[] in the description. Promises have Promise (pending), Promise (rejected), Promise (fulfilled), or Promise (fulfilled: value) if the value is a JSCell and we weren't already inside a promise.

These changes were done in our WebKit fork, I'm just bumping the commit so they are included in Bun.

How did you verify your code works?

Tested the WebKit changes locally. Should ensure that the heap snapshot tests still pass in CI.

@robobun
Copy link

robobun commented Jan 3, 2025

Updated 3:22 PM PT - Jan 3rd, 2025

@190n, your commit 878978c has 1 failures in #8892:


🧪   try this PR locally:

bunx bun-pr 16141

@Jarred-Sumner Jarred-Sumner merged commit 78498b4 into main Jan 4, 2025
64 of 67 checks passed
@Jarred-Sumner Jarred-Sumner deleted the ben/bump-webkit branch January 4, 2025 01:33
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