[JBoss JIRA] Created: (JGRP-457) Optimization: make threads return immediately if NAKACK has another active thread for the same sender
by Bela Ban (JIRA)
Optimization: make threads return immediately if NAKACK has another active thread for the same sender
-----------------------------------------------------------------------------------------------------
Key: JGRP-457
URL: http://jira.jboss.com/jira/browse/JGRP-457
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assigned To: Bela Ban
Priority: Minor
Fix For: 2.5
In NAKACK, when a thread places a message for sender S into the NakReceiverWindow NRW, it subsequently acquires a lock on NRW (lock by sender) and removes as many messages as possible and passes them up.
If many threads do this at the same time, all threads but one are blocked, and - when finally unblocked - usually return. This causes context switches and possibly cache flushing, so a better way would be to have the threads check whether another thread is already removing messages using a CAS operation *before* acquiring the lock.
The effect should be that no threads will wait on the lock unnecessarily, and thus fewer context switches, and more threads available to the pool.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
1 day, 11 hours
[JBoss JIRA] (WFLY-5351) querying TimerService information from CLI fails for canceled timer
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFLY-5351?page=com.atlassian.jira.plugin.... ]
Brian Stansberry reassigned WFLY-5351:
--------------------------------------
Fix Version/s: 12.0.0.Alpha1
Assignee: Matthieu Brouillard
Resolution: Done
> querying TimerService information from CLI fails for canceled timer
> -------------------------------------------------------------------
>
> Key: WFLY-5351
> URL: https://issues.jboss.org/browse/WFLY-5351
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 8.2.1.Final, 10.0.0.CR2, 10.0.0.CR4, 10.0.0.CR5
> Environment: probably not relevant but here is my environment
> {{Java Version : 1.8.0_60
> Java Vendor : Oracle Corporation
> OS Hostname : PAMWX125
> OS Architecture : amd64
> OS Name : Windows 7
> }}
> Reporter: Matthieu Brouillard
> Assignee: Matthieu Brouillard
> Fix For: 12.0.0.Alpha1
>
> Attachments: WFLY-5351diff, patch1.diff, timer-cli-failure.zip
>
>
> When (at least) a persistent calendar timer is created then cancelled, querying TimerService information via CLI (script or library) fails when retrieving also runtime information.
> We discovered the issue because our arquillian tests are failing due to some code in arquillian that fires the equivalent of the provided CLI command below when remotes tests are executed.
> Attached is a proposed patch and a demo project to reproduce in a simple way.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months