Skip to content

Tweak GC-on-new-object heuristic - #1806

Merged
bnoordhuis merged 1 commit into
quickjs-ng:masterfrom
bnoordhuis:tweak-gc
Oct 7, 2026
Merged

bnoordhuis merged 1 commit into
quickjs-ng:masterfrom
bnoordhuis:tweak-gc

Conversation

@bnoordhuis

Copy link
Copy Markdown
Contributor

Don't just take the size of the JSObject header into account, also add the size of the properties, because we allocate them moments later.

Don't just take the size of the JSObject header into account, also add
the size of the properties, because we allocate them moments later.
@bnoordhuis
bnoordhuis merged commit 60984dc into quickjs-ng:master Oct 7, 2026
128 checks passed
@bnoordhuis
bnoordhuis deleted the tweak-gc branch October 7, 2026 19:27
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