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

Dan Berindei (Jira) issues at jboss.org
Fri Jul 17 10:02:01 EDT 2020


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

Dan Berindei updated JGRP-2492:
-------------------------------
    Priority: Minor  (was: Major)


> 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
>
> {{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