Add UnsafeMemoryDiagnostic & job system improvements

Introduce UnsafeMemoryDiagnostic for thread-local memory leak detection, integrated with AllocationManager. Refactor JobScheduler to support external helper threads and clarify thread index handling. Centralize external job execution logic in JobUtility.TryHelpExecuteJob, updating WorkerThread and Wait accordingly. Improve job state transitions, reference counting, and add [StructLayout] to SPMCQueue/JobInfo. Enhance MemoryLeakException diagnostics, update benchmarks/tests to use JobSchedulerDesc, and bump assembly versions.
This commit is contained in:
2026-05-12 00:40:47 +09:00
parent cd7eb08f1b
commit 44c02cce03
15 changed files with 491 additions and 169 deletions

View File

@@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<AssemblyVersion>3.1.6</AssemblyVersion>
<AssemblyVersion>3.1.7</AssemblyVersion>
<Version>$(AssemblyVersion)</Version>
<Authors>Misaki</Authors>
<PackageProjectUrl>https://git.personalnas.com/Misaki/Misaki.HighPerformance.git</PackageProjectUrl>