TickWeave Fabric 1.20.1 2.1.16
Curse Maven Snippet
What's new
TickWeave 2.1.16
中文
修复固定引用分析在专用服务器上解析客户端方法签名造成的崩溃。方法布局检查保留 native 状态保护,读取签名中的客户端类型不再是判断可变状态的前提。实体、玩家连接及区块工作继续并行。
修复物化不可变容器的归属边界:共享纯元数据容器不再强制合组,不同容器中的同一可变成员仍取得共同归属。Map 的键和值、有序容器的可变比较器均参与捕获;未知实现和可变容器保留原保护。
配置对象从只读列表属性建立自有复制时,将合格复制结果的成员固定为只读快照,避免共享配置列表把独立实体合入同一组。快照保留成员顺序、null 和可变成员身份;普通列表参数构造器不变。存在委托构造或已安装子类时不采用该变换。
显式实体统计采样同时记录每批分组数量、最大组与最慢组的成员、墙钟耗时和实际合并连接。引用标识限定在对应批次内,合并连接只包含改变连通分量的连接;组耗时包含协作等待,不能相加为服务器 MSPT。未启用采样时不收集这些诊断数据。
完成的实体采样同时保留在服务端日志中,RCON 请求的延迟结果可从日志读取。
适用于 Minecraft 1.20.1、Java 17 的 Forge 和 Fabric。优化范围为服务器 TPS/MSPT,不优化 FPS。
Watchdog 报告保留故障发生时的完整线程栈及锁信息;报告输出不再重新采集已退出的线程或重复追加线程转储。
English
Fixes dedicated-server crashes caused by resolving client-only method signatures during fixed-reference analysis. Method-layout checks retain protection for native state without requiring unavailable client types to determine mutability. Entity ticking, player connections and chunk work remain parallel.
Fixes ownership boundaries for materialized immutable containers. Shared metadata-only containers no longer force a common group, while mutable members shared through separate containers retain common ownership. Map keys, values and mutable sorted-container comparators are captured. Unknown implementations and mutable containers retain their existing protection.
Qualifying configuration beans now keep membership of their owned list copies fixed, preventing shared configuration lists from forcing independent entities into one group. Snapshots preserve order, nulls and mutable member identity. Ordinary list-parameter constructors are unchanged; beans with delegating constructors or installed subclasses are excluded from this transformation.
Explicit entity statistics samples also record group counts, the members of the largest and slowest groups, group wall times and component-changing merge links. Reference identifiers are local to each batch. Group time includes cooperative waits and cannot be summed as server MSPT. These diagnostics are collected only while sampling is enabled.
Completed entity samples are also retained in the server log, so delayed results requested through RCON can be retrieved.
For Minecraft 1.20.1 on Java 17, with Forge and Fabric builds. TickWeave targets server TPS/MSPT; it does not optimize FPS.
Watchdog reports retain the complete thread stacks and lock information captured at the time of failure. Rendering the report no longer resamples threads after shutdown or repeatedly appends thread dumps.
This mod has no additional files

