mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-26 02:16:38 +00:00
Seems Rust and OpenJDK both had issues with getting accurate stack size for the main thread with MacOS Maverick and above. Apply a variant of their workarounds. We could probably assume 8MB in all cases just to be safe, as the only user of AK::StackInfo right now is lib JS's heap for determining possible pointer candidates. But, this approach should work if userspace apps start trying to add custom guard pages, as well.
3.1 KiB
3.1 KiB