papermc/Spigot-API-Patches
Shane Freeder 9c79dd3214
Cache generated EventExecutors (fixes #786)
the first 'major' change in this PR is to cache the generated event
executrs from the ASM class, by doing this we only generate a single
class for every method that we need an executor for, thus reducing the
number of classes that are needed, especially in cases where plugins
re/unregister events all the time.

The second change is to modify the generated classloader map, generated
classloaders are not held against the plugin itself but the classloader
that the event is declared in, the implication here is that we cannot
drop generated classloaders when a plugin disable, and so we use a guava
weak-key'd hashmap, downfall here is that classes won't be GC'd until
guava drops the generated classloader, however the first change should
deal with most of the grunt.
2017-09-14 14:57:50 +01:00
..
0001-POM-changes.patch Update CB 2017-08-16 16:47:06 +01:00
0002-add-Trove-and-FastUtil-to-Bukkit.patch Update CB 2017-08-16 16:47:06 +01:00
0003-Timings-v2.patch Upstream update 2017-08-07 23:05:16 -04:00
0004-Player-affects-spawning-API.patch Update upstream B/CB/S 2017-05-27 23:25:17 -05:00
0005-Add-getTPS-method.patch Update API patches to MC 1.12pre2 2017-05-14 08:46:44 -05:00
0006-Add-async-chunk-load-API.patch Update CB 2017-08-16 16:47:06 +01:00
0007-Entity-Origin-API.patch Update upstream B/CB/S 2017-06-12 22:28:09 -05:00
0008-Check-Paper-versions.patch Update upstream CB, reduce version cache time 2017-02-07 16:29:26 -06:00
0009-Add-PlayerLocaleChangeEvent.patch Update upstream B/CB/S 2017-05-27 23:25:17 -05:00
0010-Add-player-view-distance-API.patch Update upstream B/CB/S 2017-05-27 23:25:17 -05:00
0011-Add-BeaconEffectEvent.patch Cleanup obfuscation helper comment format 2016-07-28 19:09:54 -05:00
0012-Add-PlayerInitialSpawnEvent.patch Make UseItem rate limiting stricter, configurable 2016-09-10 23:27:07 -05:00
0013-Made-EntityDismountEvent-Cancellable.patch Update upstream B/CB/S 2016-08-27 18:41:58 -05:00
0014-Automatically-disable-plugins-that-fail-to-load.patch Make UseItem rate limiting stricter, configurable 2016-09-10 23:27:07 -05:00
0015-Expose-server-CommandMap.patch Update upstream B/CB/S 2017-05-15 11:25:20 -05:00
0016-Graduate-bungeecord-chat-API-from-spigot-subclasses.patch Update API patches to MC 1.12pre2 2017-05-14 08:46:44 -05:00
0017-Player-Tab-List-and-Title-APIs.patch Properly fix JavaDoc linting issues 2017-06-10 17:12:48 -05:00
0018-Add-exception-reporting-event.patch Upstream update 2017-08-07 23:05:16 -04:00
0019-Fix-ServerListPingEvent-flagging-as-Async.patch Update upstream B/CB/S 2016-08-27 18:41:58 -05:00
0020-Add-BaseComponent-sendMessage-methods-to-CommandSend.patch Update upstream B/CB/S 2017-05-15 11:25:20 -05:00
0021-Add-methods-for-working-with-arrows-stuck-in-living-.patch Update to 1.12.1 2017-08-03 17:27:54 +02:00
0022-Complete-resource-pack-API.patch Update upstream B/CB/S 2017-05-27 23:25:17 -05:00
0023-Use-ASM-for-event-executors.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00
0024-Add-a-call-helper-to-Event.patch Update upstream B/CB/S 2016-08-27 18:41:58 -05:00
0025-Add-sender-name-to-commands.yml-replacement.patch Update upstream B/CB/S 2016-08-27 18:41:58 -05:00
0026-Add-command-to-reload-permissions.yml-and-require-co.patch Update B/CB 2017-07-10 14:04:41 +01:00
0027-Custom-replacement-for-eaten-items.patch Properly fix JavaDoc linting issues 2017-06-10 17:12:48 -05:00
0028-Access-items-by-EquipmentSlot.patch Update upstream B/CB/S 2016-08-27 18:41:58 -05:00
0029-Entity-AddTo-RemoveFrom-World-Events.patch Update upstream B/CB/S 2016-08-27 18:41:58 -05:00
0030-EntityPathfindEvent.patch Update upstream B/CB/S 2016-08-27 18:41:58 -05:00
0031-Reduce-thread-synchronization-in-MetadataStoreBase.patch Update upstream B/CB/S 2016-08-27 18:41:58 -05:00
0032-Add-MetadataStoreBase.removeAll-Plugin.patch Update CB 2017-08-16 16:47:06 +01:00
0033-Add-PlayerUseUnknownEntityEvent.patch Remove Ignore invalid Marker Icon ID's in maps 2017-04-22 15:52:56 +01:00
0034-Add-handshake-event-to-allow-plugins-to-handle-clien.patch Fix javadoc warnings 2017-07-03 19:54:40 +01:00
0035-Arrow-pickup-rule-API.patch Fix javadoc warnings 2017-07-03 19:54:40 +01:00
0036-EntityRegainHealthEvent-isFastRegen-API.patch Fix javadoc warnings 2017-07-03 19:54:40 +01:00
0037-LootTable-API.patch Update B/CB/S 2017-08-06 00:08:21 +01:00
0038-Add-EntityZapEvent.patch Remove Ignore invalid Marker Icon ID's in maps 2017-04-22 15:52:56 +01:00
0039-Misc-Utils.patch Remove Ignore invalid Marker Icon ID's in maps 2017-04-22 15:52:56 +01:00
0040-Allow-Reloading-of-Command-Aliases.patch Fix javadoc warnings 2017-07-03 19:54:40 +01:00
0041-Add-source-to-PlayerExpChangeEvent.patch Update CB 2017-08-16 16:47:06 +01:00
0042-Add-ProjectileCollideEvent.patch Remove Ignore invalid Marker Icon ID's in maps 2017-04-22 15:52:56 +01:00
0043-Add-String-based-Action-Bar-API.patch Update upstream B/CB/S 2017-05-27 23:25:17 -05:00
0044-Add-API-methods-to-control-if-armour-stands-can-move.patch Remove Ignore invalid Marker Icon ID's in maps 2017-04-22 15:52:56 +01:00
0045-IllegalPacketEvent.patch Remove Ignore invalid Marker Icon ID's in maps 2017-04-22 15:52:56 +01:00
0046-Fireworks-API-s.patch Update upstream B/CB 2017-01-06 15:45:59 -06:00
0047-PlayerTeleportEndGatewayEvent.patch Properly fix JavaDoc linting issues 2017-06-10 17:12:48 -05:00
0048-Provide-E-TE-Chunk-count-stat-methods.patch Add World.getPlayerCount 2017-01-13 23:00:33 +11:00
0049-Add-fromBottle-flag-to-Experience-Orbs.patch Properly fix JavaDoc linting issues 2017-06-10 17:12:48 -05:00
0050-Expose-WorldBorder-isInBounds-Location-check.patch Update upstream B/CB/S 2017-01-25 22:27:42 -06:00
0051-Add-configuration-option-to-prevent-player-names-fro.patch Properly fix JavaDoc linting issues 2017-06-10 17:12:48 -05:00
0052-Fix-upstream-javadoc-warnings-and-errors.patch Update CB/S 2017-09-09 08:17:12 +01:00
0053-Item-canEntityPickup.patch Renumber patches, fix conflicts, update for 1.12 2017-06-11 20:02:57 -05:00
0054-PlayerPickupItemEvent-setFlyAtPlayer.patch Update Upstream 2017-07-30 18:41:08 -04:00
0055-PlayerAttemptPickupItemEvent.patch Renumber patches, fix conflicts, update for 1.12 2017-06-11 20:02:57 -05:00
0056-Add-UnknownCommandEvent.patch Update B/CB 2017-07-28 15:51:46 +01:00
0057-Shoulder-Entities-Release-API.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00
0058-Profile-Lookup-Events.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00
0059-Entity-fromMobSpawner.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00
0060-Allow-Changing-of-Player-Sample-in-ServerListPingEve.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00
0061-Improve-the-Saddle-API-for-Horses.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00
0062-ensureServerConversions-API.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00
0063-Add-getI18NDisplayName-API.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00
0064-ProfileWhitelistVerifyEvent.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00
0065-Make-plugins-list-alphabetical.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00
0066-LivingEntity-setKiller.patch Cache generated EventExecutors (fixes #786) 2017-09-14 14:57:50 +01:00