Marshall Greenblatt
85c53029bf
windows: Configure stack size for executables (fixes issue #3250 )
...
Change the default stack size to 8 MiB for 64-bit and 0.5 MiB for 32-bit.
CEF's main thread needs at least a 1.5 MiB stack size in order to avoid
stack overflow crashes. However, if this is set in the PE file then other
threads get this size as well, leading to address-space exhaustion in 32-bit
CEF. A new CefRunWinMainWithPreferredStackSize function uses fibers to switch
the main thread to a 4 MiB stack (roughly the same effective size as the
64-bit build's 8 MiB stack) before running any other code.
This change additionally moves the existing Windows-only functions
CefSetOSModalLoop and CefEnableHighDPISupport from cef_app.h to cef_win.h.
2022-11-07 11:29:27 -05:00
..
2022-10-04 18:21:31 -04:00
2022-10-04 18:21:31 -04:00
2022-08-25 14:09:20 -04:00
2022-08-25 18:23:33 -04:00
2022-02-16 17:48:20 -05:00
2022-07-25 23:47:56 -04:00
2021-12-07 15:02:28 -05:00
2022-01-24 12:58:04 -05:00
2022-01-24 12:58:04 -05:00
2022-11-07 11:29:27 -05:00
2022-10-04 18:21:31 -04:00
2022-10-04 18:21:31 -04:00
2022-09-29 13:09:35 -04:00
2022-09-29 13:09:35 -04:00
2018-02-19 17:38:04 -05:00
2018-02-19 17:38:04 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-01-24 12:58:04 -05:00
2021-12-07 15:02:28 -05:00
2022-03-30 19:54:09 -04:00
2022-03-17 15:34:49 -04:00
2022-03-30 19:54:09 -04:00
2022-01-24 12:58:04 -05:00
2022-03-02 19:44:16 +00:00
2022-03-02 19:44:16 +00:00
2020-09-03 17:44:25 -04:00
2021-08-19 19:41:44 -04:00
2021-08-19 19:41:44 -04:00
2021-09-16 18:25:43 +03:00
2022-07-22 13:31:29 -04:00
2020-07-04 16:13:30 -04:00
2021-12-18 15:57:34 -05:00
2022-10-03 17:46:50 +00:00
2021-05-20 14:46:19 -04:00
2022-07-04 09:49:15 +00:00
2022-09-29 13:09:35 -04:00
2022-09-29 13:09:35 -04:00
2022-07-29 12:14:20 -04:00
2022-07-29 12:14:20 -04:00
2022-03-30 19:54:09 -04:00
2022-03-30 19:54:09 -04:00
2021-08-24 17:43:02 -04:00
2021-12-07 15:02:28 -05:00
2022-01-24 12:58:04 -05:00
2022-01-24 12:58:04 -05:00
2020-03-04 19:31:54 -05:00
2020-03-04 19:31:54 -05:00
2020-06-29 16:17:58 -04:00
2021-12-07 15:02:28 -05:00
2021-12-07 15:02:28 -05:00
2021-12-07 15:02:28 -05:00
2021-12-07 15:02:28 -05:00
2021-04-23 11:38:51 -04:00
2021-05-18 21:59:48 -04:00
2021-05-18 21:59:48 -04:00
2022-02-22 19:22:39 -05:00
2022-05-20 19:39:32 +03:00
2021-12-07 15:02:28 -05:00
2020-06-29 16:17:23 -04:00
2021-11-15 14:25:16 -05:00
2022-07-22 13:31:29 -04:00
2021-12-07 15:02:28 -05:00
2022-07-29 12:21:21 -04:00
2017-05-18 12:30:05 +02:00
2020-01-15 14:49:22 +01:00
2017-05-18 12:30:05 +02:00
2020-09-29 18:31:43 -04:00
2022-03-17 15:34:49 -04:00
2022-03-17 15:34:49 -04:00
2022-10-04 18:21:31 -04:00
2022-10-04 18:21:31 -04:00
2020-01-15 14:49:22 +01:00
2022-02-22 19:22:39 -05:00
2022-09-29 13:09:35 -04:00
2022-02-22 19:22:39 -05:00
2021-10-21 15:43:15 -04:00
2021-12-07 15:02:28 -05:00