Github user bigdata-memory commented on a diff in the pull request: https://github.com/apache/incubator-mnemonic/pull/74#discussion_r143510963 --- Diff: mnemonic-core/src/main/java/org/apache/mnemonic/VolatileMemAllocator.java --- @@ -158,6 +159,19 @@ public long expand(long size) { return ret; } + @Override + public long shrink(long size) { + long ret = 0L; + if (null != m_features) { + if (m_features.contains(SHRINKABLE)) { --- End diff -- Please add an else branch for this if statement.
---