Skip to content

[WIP] Find & solve concurrency issues#738

Draft
MrIvanPlays wants to merge 9 commits into
PlaceholderAPI:masterfrom
MrIvanPlays:fix/concurrency-problems
Draft

[WIP] Find & solve concurrency issues#738
MrIvanPlays wants to merge 9 commits into
PlaceholderAPI:masterfrom
MrIvanPlays:fix/concurrency-problems

Conversation

@MrIvanPlays
Copy link
Copy Markdown
Contributor

Pull Request

Type

  • Internal change (Doesn't affect end-user).
  • External change (Does affect end-user).
  • Wiki (Changes towards the Wiki).
  • Other: __________

Description

This is as of right now a tracking PR for any concurrency issues. I am going to try to find and resolve concurrency issues in PlaceholderAPI's code. This is not to be merge soon!

This is trying to resolve issues such as #727 ; a ConcurrentModificationException showing that either:
a) something is modifying something while looping
b) something is getting modified on thread y while it is already being modified on thread x

@MrIvanPlays MrIvanPlays marked this pull request as draft October 28, 2021 15:47
This was modified by my IDE somehow
Issue PlaceholderAPI#727 's CME roots come from FileUtil. This can be due to the previous
implementation having 2 lists linking each other. This is removing 1 of the
lists and handling on-the-go while also cleaning up the code a bit.

Oh, and for the CloudExpansionManager change: I put it on the wrong
spot the first time :P so yea
@SlimeDog
Copy link
Copy Markdown

SlimeDog commented Nov 1, 2021

Thanks for taking this on.

@Andre601 Andre601 added the Type: Bugfix This fixes an existing bug in PlaceholderAPI. label Dec 3, 2021
@Andre601 Andre601 added the Target: Code This issue/PR is targeting the Code of PlaceholderAPI label Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Target: Code This issue/PR is targeting the Code of PlaceholderAPI Type: Bugfix This fixes an existing bug in PlaceholderAPI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants