You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/11/19 21:21:21 UTC
[jira] [Created] (HADOOP-10116) fix "inconsistent synchronization"
warnings in ZlibCompressor
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)