cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-9918) Introduce extra Ref usage when debugrefcount=true
Date Wed, 29 Jul 2015 15:06:04 GMT
Benedict created CASSANDRA-9918:

             Summary: Introduce extra Ref usage when debugrefcount=true
                 Key: CASSANDRA-9918
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Benedict
            Assignee: Benedict
             Fix For: 3.0.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

View raw message