cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-9918) Introduce extra Ref usage when debugrefcount=true
Date Mon, 28 Sep 2015 04:49:04 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-9918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedict updated CASSANDRA-9918:
--------------------------------
    Assignee:     (was: Benedict)

> Introduce extra Ref usage when debugrefcount=true
> -------------------------------------------------
>
>                 Key: CASSANDRA-9918
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9918
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>             Fix For: 3.x
>
>
> To help us in testing catch API misuse, especially resource handling, we can introduce
an abstract base class implementing AutoCloseable that under normal circumstances is empty,
but when ref count debugging is enabled instantiates a Ref instance that it releases on close.
This will let us detect objects we are misusing that we consider too high-traffic for normal
systems to have tracked by Refs. Ideally CASSANDRA-9379 will be delivered around the same
time, so that this can be enabled on live systems without _much_ negative impact.



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

Mime
View raw message