ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1598) Platform .Net: Review IDisposable usage for MemoryStreams and PlatformMemory
Date Thu, 01 Oct 2015 09:32:26 GMT
Pavel  Tupitsyn created IGNITE-1598:
---------------------------------------

             Summary: Platform .Net: Review IDisposable usage for MemoryStreams and PlatformMemory
                 Key: IGNITE-1598
                 URL: https://issues.apache.org/jira/browse/IGNITE-1598
             Project: Ignite
          Issue Type: Bug
            Reporter: Pavel  Tupitsyn


* IPortableStream is IDisposable, but it does not own resources directly
* PlatformMemory is not IDisposable, but is does own resources
* Most usages look like "using (var mem = IgniteManager.Memory.Allocate().GetStream())"
* Memory.Release can't be called multiple times (will cause bugs for pooled memory and crashes
for unpooled memory)

Need to think of a way to mitigate these issues.



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

Mime
View raw message