[
https://issues.apache.org/jira/browse/ARTEMIS-3271?focusedWorklogId=590418&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-590418
]
ASF GitHub Bot logged work on ARTEMIS-3271:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 28/Apr/21 14:03
Start Date: 28/Apr/21 14:03
Worklog Time Spent: 10m
Work Description: gtully commented on pull request #3557:
URL: https://github.com/apache/activemq-artemis/pull/3557#issuecomment-828482047
Thinking out loud, if we want to improve on sampling, and check every thread
enter/exit, some sort of xor of the thread id and the analyser doing mark (to
capture the current bit mask) and sweep if it has not changed since the mark,
could work without recourse to tracking nanno time. Something for the future
maybe.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 590418)
Time Spent: 0.5h (was: 20m)
> Avoid Multi Thread measurement on Critical Analyzer
> ---------------------------------------------------
>
> Key: ARTEMIS-3271
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3271
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.17.0
> Reporter: Clebert Suconic
> Priority: Major
> Fix For: 2.18.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The Critical Analyzer could be called from multiple Threads.
>
> As a result, I am afraid there could be a situation that left time was
> updated at a wrong pace.. leaving to inconsistencies.
>
>
> I'm improving it to only consider a single thread from all the calls. Any
> calls from multi-threading should be ignored... All we need is to capture one
> thread hanging and detect a dead lock.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)