You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/11/10 14:19:00 UTC

[jira] [Commented] (NIFI-9371) Evaluate synchronized methods in StandardProcessorNode

    [ https://issues.apache.org/jira/browse/NIFI-9371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17441766#comment-17441766 ] 

ASF subversion and git services commented on NIFI-9371:
-------------------------------------------------------

Commit 5aced2b4bc66d2dd85b1507755fff2b1fb8c4a64 in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=5aced2b ]

NIFI-9371 Removed synchronized keyword from Active Threads methods (#5513)

- ConcurrentHashMap collection for Active Threads eliminates the need for method synchronization
- Replaced System.out.println() with Logger.info() in nifi-system-test-suite classes

> Evaluate synchronized methods in StandardProcessorNode
> ------------------------------------------------------
>
>                 Key: NIFI-9371
>                 URL: https://issues.apache.org/jira/browse/NIFI-9371
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> NIFI-9365 Changed the internal collection of Active Threads to use a ConcurrentHashMap in StandardProcessorNode since some methods did not have the synchronized keyword. The ConcurrentHashMap should eliminate the need to use the synchronized keyword on some methods.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)