DH Optimizer 1.1.0 (Fabric 1.21.1)
Curse Maven Snippet
What's new
v1.1.0+mc1.21.1 (Cumulative Update from v1.0.0)
Critical Bug Fixes
- Fixed Distant Horizons LOD Render Freeze / AB-BA Deadlock: Retired and disabled the lossy 2048-stripe positional lock aliasing (
PositionalLockProviderMixin/enableStripedLocks), which could breakFullDataUpdatePropagatorV2parent-to-child lock ordering, leakPriorityTaskPickerworker permits, and freeze Distant Horizons LOD updates/rendering after fast movement (e.g. Elytra flight). Legacy1.0.0config files withenableStripedLocks=trueare automatically overridden tofalseon load. - Eliminated
ChunkUpdateQueueManagerCPU Busy-Spin: Added adaptive 2 ms backoff (enableChunkQueueBackoff=true) whenChunkUpdateQueueManagerloops over debounced (250 ms) or saturated queue items without dispatching work, preventing unnecessary CPU saturation and allocation churn.
Performance & Modpack Compatibility
- CPU- & Velocity-Aware Background Thread Governor: Upgraded
FrameBudgetThreadGovernorwith cached process CPU sampling (enableCpuAwareThrottling=true,cpuThrottleThreshold=0.82) and rapid camera-movement detection so DH background pools yield smoothly during heavy CPU load (>= 82%) or fast flight even when frame rate remains above 60 FPS. Also made task start-time tracking safe for nested executor tasks. - C2ME + DH
ChunkWrapperContention & Log Spam Fix: AddedChunkWrapperMixin(enableChunkWrapperThreadFix=true) to deduplicate and safely synchronize concurrentcreateDhHeightMaps()execution across non-DH worker threads (e.g.,c2me-worker-*) and eliminate repeated non-DH heightmap thread warnings. - Per-Thread Biome Tint LUT: Activated
AbstractDhTintGetterMixin+TintBiomeColorLut(enableBiomeTintLut=true) for faster lock-free per-thread biome tint caching, synchronized with DH tint cache invalidation epochs.
Telemetry & Config Cleanup
- Updated
/dhopttelemetry output tov1.1.0and addedSpins AvoidedandBiome Tint LUT Hitscounters. - Removed unused legacy DRS configuration keys (
enableDrs,drsScale,drsFpsThreshold) and stale metadata references (striped locks) without breaking existing.propertiesfiles.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include