[teiid-issues] [JBoss JIRA] (TEIID-5631) Issues with ThreadReuseExecutor

Steven Hawkins (Jira) issues at jboss.org
Tue Jan 29 15:39:00 EST 2019


     [ https://issues.jboss.org/browse/TEIID-5631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-5631.
-----------------------------------
    Resolution: Done


Addressed the issues listed above.  Sampling now should be thread safe / non-blocking.

> Issues with ThreadReuseExecutor
> -------------------------------
>
>                 Key: TEIID-5631
>                 URL: https://issues.jboss.org/browse/TEIID-5631
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Major
>             Fix For: 12.1
>
>
> In looking at flattening the metrics there are a couple of issues with the ThreadReuseExecutor:
> 1. The getStats method uses unsynchronized access to get the queue size.
> 2. The queue ordering prefers older work items to newer - even after repeated queuing.
> 3. Thread tracking could be more concurrent.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list