Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
oven-sh
/
bun
Public
Notifications
You must be signed in to change notification settings
Fork
5k
Star
95.4k
Code
Issues
3.2k
Pull requests
5k+
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Return freed memory to the OS on a background thread instead of the JS thread
- #34181
#34181
Merged
Jarred-Sumner
merged 14 commits into
main
oven-sh/bun:main
from
claude/idle-theap-handoff
oven-sh/bun:claude/idle-theap-handoff
Copy head branch name to clipboard
Jul 16, 2026
Conversation
Commits
14
(14)
Checks
Files changed
Merged
Return freed memory to the OS on a background thread instead of the JS thread
#34181
Jarred-Sumner
merged 14 commits into
main
oven-sh/bun:main
from
claude/idle-theap-handoff
oven-sh/bun:claude/idle-theap-handoff
Copy head branch name to clipboard
Commits
Commits on Jul 14, 2026
usockets: sweep mimalloc's heaps while the loop is parked, not before it parks
Show description for 34afcea
Jarred-Sumner
committed
34afcea
View commit details
Copy full SHA for 34afcea
Browse repository at this point
usockets: hand the heaps over on every tick, and use mimalloc's header
Show description for c094bd9
Jarred-Sumner
committed
c094bd9
View commit details
Copy full SHA for c094bd9
Browse repository at this point
Commits on Jul 15, 2026
deps: bump mimalloc for the interruptible collect phase
Jarred-Sumner
committed
38f5d78
View commit details
Copy full SHA for 38f5d78
Browse repository at this point
usockets: sweep inline only when there is no scavenger to hand off to
Show description for 7a84c86
Jarred-Sumner
committed
7a84c86
View commit details
Copy full SHA for 7a84c86
Browse repository at this point
jsc: return the JS thread's mimalloc pages to the arena when the heap moves
Show description for c8abd3e
Jarred-Sumner
committed
c8abd3e
View commit details
Copy full SHA for c8abd3e
Browse repository at this point
Revert "jsc: return the JS thread's mimalloc pages to the arena when the heap moves"
Show description for a908c8a
Jarred-Sumner
committed
a908c8a
View commit details
Copy full SHA for a908c8a
Browse repository at this point
Reapply "jsc: return the JS thread's mimalloc pages to the arena when the heap moves"
Show description for edd3e53
Jarred-Sumner
committed
edd3e53
View commit details
Copy full SHA for edd3e53
Browse repository at this point
jsc: collect the JS thread's theap when a collection shrinks the heap
Show description for 3c8728e
Jarred-Sumner
committed
3c8728e
View commit details
Copy full SHA for 3c8728e
Browse repository at this point
jsc: collect the JS thread's theap after a collection, when the loop never parks
Show description for f745562
Jarred-Sumner
committed
f745562
View commit details
Copy full SHA for f745562
Browse repository at this point
[autofix.ci] apply automated fixes
autofix-ci[bot]
authored
c015194
View commit details
Copy full SHA for c015194
Browse repository at this point
jsc: trim the theap-collect comments to the durable content
Show description for c0068c6
Jarred-Sumner
committed
c0068c6
View commit details
Copy full SHA for c0068c6
Browse repository at this point
jsc: drop the unused theap-collect counter
Jarred-Sumner
committed
868c47b
View commit details
Copy full SHA for 868c47b
Browse repository at this point
Revert the GC-controller theap collect: measured, it does nothing
Show description for 0d9ba34
Jarred-Sumner
committed
0d9ba34
View commit details
Copy full SHA for 0d9ba34
Browse repository at this point
Commits on Jul 16, 2026
deps: bump mimalloc to bun-dev3-v2 with the idle-theap handoff
Show description for d940463
Jarred-Sumner
committed
d940463
View commit details
Copy full SHA for d940463
Browse repository at this point
You can’t perform that action at this time.