You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2010/10/05 23:14:34 UTC
[jira] Resolved: (OPENJPA-1801) CacheStatistics misses are
improperly calculated.
[ https://issues.apache.org/jira/browse/OPENJPA-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Curtis resolved OPENJPA-1801.
----------------------------------
Resolution: Fixed
Committed changes to trunk. First off, this is a pretty major refactor and cache statistics collection isn't 100% yet. Unfortunately I don't have the time to test this as thoroughly as I would like. This is a step in the right direction and is more correct that the previous implementation, but it is still incomplete.
> CacheStatistics misses are improperly calculated.
> -------------------------------------------------
>
> Key: OPENJPA-1801
> URL: https://issues.apache.org/jira/browse/OPENJPA-1801
> Project: OpenJPA
> Issue Type: Bug
> Components: datacache
> Affects Versions: 2.0.1, 2.1.0
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.1.0
>
>
> In doing some testing I found that the DataCache statistics aren't calculated properly. In the case where there is a cache miss for a specific Type(Person.class), a miss (a read with no subsequent hit) is recorded for java.lang.Object.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.