hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10116) fix "inconsistent synchronization" warnings in ZlibCompressor
Date Tue, 19 Nov 2013 20:21:21 GMT
Colin Patrick McCabe created HADOOP-10116:
---------------------------------------------

             Summary: fix "inconsistent synchronization" warnings in ZlibCompressor
                 Key: HADOOP-10116
                 URL: https://issues.apache.org/jira/browse/HADOOP-10116
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Colin Patrick McCabe


Fix findbugs warnings in ZlibCompressor.  I believe these were introduced by HADOOP-10047.

{code}
Code	Warning
IS	Inconsistent synchronization of org.apache.hadoop.io.compress.zlib.ZlibCompressor.keepUncompressedBuf;
locked 57% of time
IS	Inconsistent synchronization of org.apache.hadoop.io.compress.zlib.ZlibCompressor.userBuf;
locked 60% of time
IS	Inconsistent synchronization of org.apache.hadoop.io.compress.zlib.ZlibCompressor.userBufLen;
locked 85% of time
IS	Inconsistent synchronization of org.apache.hadoop.io.compress.zlib.ZlibDecompressor.userBuf;
locked 60% of time
IS	Inconsistent synchronization of org.apache.hadoop.io.compress.zlib.ZlibDecompressor.userBufLen;
locked 77% of time
Dodgy Warnings

Code	Warning
DLS	Dead store to pos2 in org.apache.hadoop.io.compress.zlib.ZlibCompressor.put(ByteBuffer,
ByteBuffer)
DLS	Dead store to pos2 in org.apache.hadoop.io.compress.zlib.ZlibDecompressor.put(ByteBuffer,
ByteBuffer)
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message