Skip to content

Conversation

@sibest
Copy link
Contributor

@sibest sibest commented Jul 9, 2025

Multithreaded marking wasn’t working because the following preprocessor block was never executed (at least when compiling with MSVC):

#if (MAX_GC_THREADS>1)
// You can uncomment this for better call stacks if it crashes while collecting
#define HX_MULTI_THREAD_MARKING
#endif

Multithreaded marking wasn’t working because the following preprocessor block was never executed (at least when compiling with MSVC):

#if (MAX_GC_THREADS>1)
   // You can uncomment this for better call stacks if it crashes while collecting
   #define HX_MULTI_THREAD_MARKING
#endif
@hughsando
Copy link
Member

Interesting and a little concerning. Looks like it has not been multi-thread collecting for a few years.
Your fix looks like it restores the intention of the code.

@hughsando hughsando merged commit af8afd6 into HaxeFoundation:master Jul 10, 2025
120 checks passed
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