Skip to content
Snippets Groups Projects
Commit 4c035df1 authored by jloew2's avatar jloew2
Browse files

Merge branch 'evict-by-size' of gitlab.engr.illinois.edu:cs525-sp18-g07/spark into evict-by-size

parents 47f75876 63590c0d
No related branches found
No related tags found
No related merge requests found
......@@ -397,6 +397,7 @@ private[spark] class MemoryStore(
def remove(blockId: BlockId): Boolean = memoryManager.synchronized {
val entry = entries.synchronized {
val origEntry = entries.get(blockId)
logInfo(s"blockId: $blockId");
if (origEntry != null) {
blockIdAndSizeSet -= new OurBlockIdAndSizeType(blockId, origEntry.size)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment