Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for RejectedExecutionException during delete operations #1593

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

iloveeclipse
Copy link
Member

If the tasks scheduled by ForkJoinPool are all busy and new task is added, the pool would throw RejectedExecutionException if the "saturate" Predicate is not specified.

To avoid that, supply Predicate that is always true - with that, no exception will be thrown on busy pool and we would not reject new delete operations.

Fixes #1592

If the tasks scheduled by ForkJoinPool are all busy and new task is
added, the pool would throw RejectedExecutionException if the "saturate"
Predicate is not specified.

To avoid that, supply Predicate that is always true - with that, no
exception will be thrown on busy pool and we would not reject new delete
operations.

Fixes eclipse-platform#1592
Copy link
Contributor

Test Results

 1 758 files  ±0   1 758 suites  ±0   1h 26m 53s ⏱️ - 3m 33s
 4 170 tests ±0   4 148 ✅ ±0   22 💤 ±0  0 ❌ ±0 
13 107 runs  ±0  12 943 ✅ ±0  164 💤 ±0  0 ❌ ±0 

Results for commit f99df03. ± Comparison against base commit 31d84d1.

@iloveeclipse iloveeclipse merged commit 9ca19a0 into eclipse-platform:master Oct 22, 2024
17 checks passed
@iloveeclipse iloveeclipse deleted the issue_1592 branch October 22, 2024 08:06
@iloveeclipse
Copy link
Member Author

@akurtakov : I plan to trigger new IBuild just to make sure this fix (or original issue) doesn't have any relationship to OOM's in eclipse-platform/eclipse.platform.ui#2432
Any objections ?

@akurtakov
Copy link
Member

Go for it.

@iloveeclipse
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Problems encountered while deleting files" due "Thread limit exceeded replacing blocked worker"
2 participants