Skip to content

Thread Local Memstats#438

Merged
1stub merged 12 commits intoBosqueLanguage:mainfrom
1stub:02_10_tl_memstats
Feb 12, 2026
Merged

Thread Local Memstats#438
1stub merged 12 commits intoBosqueLanguage:mainfrom
1stub:02_10_tl_memstats

Conversation

@1stub
Copy link
Copy Markdown
Collaborator

@1stub 1stub commented Feb 12, 2026

To provide a better picture of how each thread is performing (and stop needing to lock every time we update the global memstats), I decided to add a memstats field to each thread local BSQMemoryTheadLocalInfo object in addition to the global memstats. A thread will update their local copy then upon destruction merge their memstats into the global memstats.

@1stub 1stub requested a review from marron-at-work February 12, 2026 19:17
@1stub 1stub merged commit 3523ceb into BosqueLanguage:main Feb 12, 2026
1 check passed
@1stub 1stub deleted the 02_10_tl_memstats branch February 12, 2026 20:02
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