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

Reduce empty array allocations #3517

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

nirvdrum
Copy link
Collaborator

@nirvdrum nirvdrum commented Apr 1, 2024

While looking a heap dump taken from a load test against a Rails 7.1 application, I saw thousands of empty array allocations. I don't think these amount to much more than a few megabytes of memory, but eliminating them was easy and it cleans up the profile a bit.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 1, 2024
@nirvdrum nirvdrum added shopify and removed OCA Verified All contributors have signed the Oracle Contributor Agreement. labels Apr 1, 2024
@nirvdrum nirvdrum force-pushed the reduce-empty-array-memory branch from 9c9d5b9 to 5a270b8 Compare April 2, 2024 16:16
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 2, 2024
@andrykonchin andrykonchin added the in-ci The PR is being tested in CI. Do not push new commits. label Apr 3, 2024
@graalvmbot graalvmbot merged commit 5a270b8 into oracle:master Apr 4, 2024
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-ci The PR is being tested in CI. Do not push new commits. OCA Verified All contributors have signed the Oracle Contributor Agreement. shopify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants