[SPIGOT-2645] Spigot blew up upgrading from 948 -> 957 Created: 31/Aug/16  Updated: 19/Jun/24  Resolved: 31/Aug/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: andrewkm Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None


 Description   

Upgrading from 948 -> 957 blew stuff up immediately after players started joining
https://gist.github.com/andrewkm/edf3e2c4166594df69314bdaac0cd14c

Reverting fixed it.

Low priority, just wondering what happened.



 Comments   
Comment by Black Hole [ 31/Aug/16 ]

This seems to be caused by this commit:
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/89e4f83cd41117cc8a0264e70049f2f6e490740a

Some Java options might lead to required classes of a loading class to be loaded in other threads causing a deadlock.

This may require a new class derived from LinkedHashMap that uses:
https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/ReadWriteLock.html
(A new class because plugins might force access to the loaders field.)

Another alternative could be https://github.com/ben-manes/concurrentlinkedhashmap

Generated at Sat Dec 13 15:21:00 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.