File Details
c2me-fabric-mc1.20.1-0.2.0+alpha.11.20.26.3.jar
- R
- Jan 9, 2026
- 1.37 MB
- 154
- 1.20.1
- Fabric
File Name
c2me-fabric-mc1.20.1-0.2.0+alpha.11.20.26.3.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
Performance Improvements
Lock-Free State Machine
- Replaced
synchronizedmethods with CAS-based state machine inAsyncCombinedLockandSchedulingAsyncCombinedLock
CMETrackingMap Allocation Removal
- Removed expensive
Throwableallocation
Function.identity() Removal
- Removed unnecessary
.thenApply(Function.identity())wrappers in 5 locations - Reduces CompletableFuture allocation and completion chain depth
Dead Timing Code Removal
- Removed unused
System.nanoTime()calls in SchedulingManager - Eliminates 2 system calls per sync load update
Bug Fixes
Lock-Free Race Condition Fix
- Fixed state transition timing that allowed concurrent execution during lock cleanup
- State now remains
ACQUIRINGduring cleanup, only resets toPENDINGbefore retry
ThreadLocal Memory Leak Prevention
- Added
withScope()andwithScopeVoid()helper methods toAsyncSerializationManager - Guarantees ThreadLocal cleanup via try-finally pattern
- Prevents memory leaks in long-running servers
Configuration
- Changed default spawn blacklist to empty (users can add entries as needed). Since everyone seems like they'll keep trying to use this outside of Au Naturel anyway, i might as well make it have nicer defaults for them at a marginal bit of work for myself :)