You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "bright chen (JIRA)" <ji...@apache.org> on 2016/11/08 22:09:58 UTC
[jira] [Created] (APEXMALHAR-2332) StateTracker#bucketAccessed
should be called each time access to the bucket
bright chen created APEXMALHAR-2332:
---------------------------------------
Summary: StateTracker#bucketAccessed should be called each time access to the bucket
Key: APEXMALHAR-2332
URL: https://issues.apache.org/jira/browse/APEXMALHAR-2332
Project: Apache Apex Malhar
Issue Type: Bug
Reporter: bright chen
Assignee: bright chen
StateTracker#bucketAccessTimes keep the bucket access time order by access time. It was used by free memory thread to decide which bucket can be freed. So, each access to bucket include put and get should update the access time.
As bucketAccessTimes and bucketHeap are shared by two thread. update them for each operation could impact the performance. It better to update period. As Bucket don't support window operation. I am going to keep the update time and update when time out.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)