[ https://issues.apache.org/jira/browse/IGNITE-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-2237: ------------------------------------ Description: The following ideas is to be evaluated: 1) "startTime" and "endTime" fields have virtually no value. They are used mostly for debug and tests. 2) "ignoreInterrupts" flag can be encapsulated into state. 3) "ArrayListener" concept looks overly complex. Looks like we do not need it at all -> array can be used directly. 4) Modern JDK futures do not use AQS anymore. Instead, they park/unpark directly and store waiters in a kind of compact stack. Need to think about it. was: The following ideas is to be evaluated: 1) "startTime" and "endTime" fields have virtually no value. They are used mostly for debug and tests. 2) "ignoreInterrupts" flag can be encapsulated into state. 3) "ArrayListener" concept looks overly complex. Looks like we do not need it at all -> array can be used directly. > GridFutureAdapter: simplify and optimize. > ----------------------------------------- > > Key: IGNITE-2237 > URL: https://issues.apache.org/jira/browse/IGNITE-2237 > Project: Ignite > Issue Type: Sub-task > Components: general > Affects Versions: ignite-1.4 > Reporter: Vladimir Ozerov > Assignee: Vladimir Ozerov > Priority: Critical > Fix For: 1.6 > > > The following ideas is to be evaluated: > 1) "startTime" and "endTime" fields have virtually no value. They are used > mostly for debug and tests. > 2) "ignoreInterrupts" flag can be encapsulated into state. > 3) "ArrayListener" concept looks overly complex. Looks like we do not need it > at all -> array can be used directly. > 4) Modern JDK futures do not use AQS anymore. Instead, they park/unpark > directly and store waiters in a kind of compact stack. Need to think about it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)