Skip to content

fixes multithread marking - #1240

Merged
hughsando merged 1 commit into
HaxeFoundation:masterfrom
sibest:master
Jul 10, 2025
Merged

fixes multithread marking#1240
hughsando merged 1 commit into
HaxeFoundation:masterfrom
sibest:master

Conversation

@sibest

@sibest sibest commented Jul 9, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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