[jira] [Created] (IGNITE-1321) Revisit PlatformAbstractTask locking logic.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-1321) Revisit PlatformAbstractTask locking logic.

Anton Vinogradov (Jira)
Vladimir Ozerov created IGNITE-1321:
---------------------------------------

             Summary: Revisit PlatformAbstractTask locking logic.
                 Key: IGNITE-1321
                 URL: https://issues.apache.org/jira/browse/IGNITE-1321
             Project: Ignite
          Issue Type: Task
          Components: interop
    Affects Versions: 1.1.4
            Reporter: Vladimir Ozerov
            Assignee: Vladimir Ozerov
             Fix For: ignite-1.4


Currently it is implemented with RW lock to ensure that task cannot be cancelled/completed concurrently when notie platform process job result.
This was done when we were dealing with non-unique native pointers.
Now this is not a problem because we use "handle registry" approach and all "pointers" are guaranteed to be unique. Therefore, probably we can get rid of this lock at all.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)