Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] Potential executor service overhead

On Tue, Mar 3, 2020 at 2:07 PM Gayan Perera <gayanper@xxxxxxxxx> wrote:
> According to the how executor service is handled in org.eclipse.jdt.internal.ui.text.java.ChainCompletionProposalComputer.executeCallChainSearch() it can be a overhead until the GC collects it in the best case. Because the shutdownNow is only called if a timeout or execution error is raised.
>
> Should i raise a bug for this ? Or am trying to over optimize it ?

Julian filed Bug 560595, and has a change to cancel when timeout is hit.
Feel free to comment/try out his change.

Cheers,
Roland



Back to the top