Skip to content
Snippets Groups Projects
Commit 5275a5cf 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 4c035df1 3ceefb6d
No related branches found
No related tags found
No related merge requests found
...@@ -397,7 +397,8 @@ private[spark] class MemoryStore( ...@@ -397,7 +397,8 @@ private[spark] class MemoryStore(
def remove(blockId: BlockId): Boolean = memoryManager.synchronized { def remove(blockId: BlockId): Boolean = memoryManager.synchronized {
val entry = entries.synchronized { val entry = entries.synchronized {
val origEntry = entries.get(blockId) val origEntry = entries.get(blockId)
logInfo(s"blockId: $blockId"); print("Hello, world!\n")
logInfo(s"blockId: $blockId")
if (origEntry != null) { if (origEntry != null) {
blockIdAndSizeSet -= new OurBlockIdAndSizeType(blockId, origEntry.size) 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