Kai Tamkun
35ed97df45
Windows...
2025-08-14 16:09:07 -07:00
Kai Tamkun
83704566e5
Merge branch 'main' into kai/memory-usage
2025-08-14 14:30:49 -07:00
Kai Tamkun
9616c88583
Merge branch 'jarred/mimalloc-upgrade-v3' into kai/memory-usage
2025-08-13 18:19:06 -07:00
Jarred Sumner
46e1c5a0fa
Downgrade mimalloc + set libc musl flag ( #21684 )
...
### What does this PR do?
### How did you verify your code works?
---------
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
2025-08-08 18:02:19 -07:00
Jarred Sumner
df61e88dc0
Fix potential crash in new Bun.Transpiler() ( #21650 )
...
### What does this PR do?
The `then` function in `transpiler.transform` can cause GC, which means
it can cause the `Transpiler` to become freed, which means that if that
same transpiler is in use by another run on the other thread, it could
have pointers to invalid memory.
Also, `ESMCondition` has unnecesasry memory allocations and there is a
very tiny memory leak in optionsFromLoaders
### How did you verify your code works?
Existing tests
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-07 15:16:44 -07:00
Jarred Sumner
455f3a65b9
enable mimalloc simd ( #21644 )
...
### What does this PR do?
### How did you verify your code works?
2025-08-06 06:38:34 -07:00
Jarred Sumner
ccbd3f3575
Update BuildMimalloc.cmake
2025-08-05 22:27:01 -07:00
Jarred Sumner
a5af485354
Refactor h2_frame_parser to use GC-visited fields ( #21573 )
...
### What does this PR do?
Instead of holding a strong for the options object passed with the
handlers, we make each of the callbacks kept alive by the handlers and
it detaches once the detachFromJS function is called.
This should fix #21570 , which looks like it was caused by wrapper
functions for AsyncLocalStorage getting collected prematurely.
fixes #21254
fixes #21553
fixes #21422
### How did you verify your code works?
Ran test/js/node/http2/node-http2.test.js
2025-08-02 20:38:49 -07:00
Jarred Sumner
68d322f05f
Fix mimalloc memory usage regression ( #21550 )
...
### What does this PR do?
### How did you verify your code works?
---------
Co-authored-by: taylor.fish <contact@taylor.fish >
2025-08-01 23:38:34 -07:00
Jarred Sumner
93f92658b3
Try mimalloc v3 ( #17378 )
...
(For internal tracking: fixes ENG-19852)
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Kai Tamkun <kai@tamkun.io >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: taylor.fish <contact@taylor.fish >
2025-07-29 18:07:15 -07:00
Kai Tamkun
84f95f7072
Fix mimalloc lib filename on Windows
2025-07-16 19:15:27 -07:00
Jarred Sumner
a7640f3272
Update BuildMimalloc.cmake
2025-06-17 21:49:39 -07:00
Jarred Sumner
8bd438611e
Update BuildMimalloc.cmake
2025-06-06 23:54:59 -07:00
Jarred Sumner
04f4be3f2a
Update BuildMimalloc.cmake
2025-05-27 19:09:06 -07:00
Devin AI
9724d14817
Fix: Uncomment mimalloc static object workaround to resolve linking failure
...
Co-Authored-By: Jarred Sumner <jarred@jarredsumner.com >
2025-05-15 03:05:50 +00:00
Jarred Sumner
a0f66c93fc
Merge branch 'main' into jarred/mimalloc-upgrade-v3
2025-05-14 19:05:41 -07:00
190n
a5358fbbd9
Fix Linux ASan debug builds ( #19657 )
2025-05-14 18:42:42 -07:00
Jarred Sumner
c2e4ce5824
Bump
2025-04-11 22:21:44 -07:00
Jarred Sumner
38f63b73a6
Bump
2025-04-11 22:18:22 -07:00
Jarred Sumner
b2d4f4af3f
Bump
2025-04-11 22:13:52 -07:00
Jarred Sumner
187a44779e
some tweaks
2025-03-29 18:34:14 -07:00
Jarred Sumner
fe6f462cdb
actually lets downgrade mimalloc
2025-03-29 05:55:42 -07:00
Jarred Sumner
0860131df4
Update BuildMimalloc.cmake
2025-03-29 02:28:43 -07:00
Jarred Sumner
d42a9dce6c
Bump
2025-03-28 20:41:55 -07:00
Jarred Sumner
63636f19f1
Revert "Upgrade mimalloc" due to memory usage regression ( #17892 )
2025-03-04 04:50:39 -08:00
Jarred Sumner
1bf13aa671
Upgrade mimalloc ( #17817 )
2025-02-28 21:48:34 -08:00
Jarred Sumner
22e5078528
Update BuildMimalloc.cmake
2025-02-23 22:22:34 -08:00
Jarred Sumner
6145469875
Try mimalloc v3
2025-02-16 00:17:38 -08:00
pfg
5620a7dfac
Enable asan on debug macos aarch64 builds ( #17058 )
2025-02-05 17:24:32 -08:00
Jarred Sumner
ec4c9f8f84
Update mimalloc ( #14814 )
2024-10-25 01:31:24 -07:00
Dylan Conway
3c0327df3a
debug libraries
2024-09-13 15:58:22 -07:00
Ashcon Partovi
76191bed44
Various fixes for CMake ( #13928 )
2024-09-12 18:08:59 -07:00
Ashcon Partovi
d39e422b20
Reapply "Convert build scripts to CMake ( #13427 )"
...
This reverts commit 374bb15db6 .
2024-09-11 08:24:50 -07:00
Dylan Conway
374bb15db6
Revert "Convert build scripts to CMake ( #13427 )"
...
This reverts commit 354df17d16 .
2024-09-10 19:57:19 -07:00
Ashcon Partovi
354df17d16
Convert build scripts to CMake ( #13427 )
2024-09-10 17:01:40 -07:00