[jboss-jira] [JBoss JIRA] (JGRP-2492) TimeScheduler3.add() gets more expensive as the queue size grows

Bela Ban (Jira) issues at jboss.org
Mon Jul 20 15:23:00 EDT 2020


     [ https://issues.redhat.com/browse/JGRP-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban updated JGRP-2492:
---------------------------
    Fix Version/s: 5.0.0.Final


> TimeScheduler3.add() gets more expensive as the queue size grows
> ----------------------------------------------------------------
>
>                 Key: JGRP-2492
>                 URL: https://issues.redhat.com/browse/JGRP-2492
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 4.2.4
>            Reporter: Dan Berindei
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 5.0.0.Final
>
>
> {{TimeScheduler3.add()}} calls {{removeCancelledTasks()}}, which ends up calling {{DelayQueue.toArray()}} (because {{DelayQueue}} doesn't support directly iterating over its contents).
>  



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jboss-jira mailing list