Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10170#discussion_r47020540
  
    --- Diff: 
core/src/test/scala/org/apache/spark/memory/StaticMemoryManagerSuite.scala ---
    @@ -159,13 +156,13 @@ class StaticMemoryManagerSuite extends 
MemoryManagerSuite {
         assert(mm.acquireUnrollMemory(dummyBlock, 500L, evictedBlocks))
         // `spark.storage.unrollFraction` is 0.4, so the max unroll space is 
400 bytes.
         // Since we already occupy 60 bytes, we will try to ensure only 400 - 
60 = 340 bytes.
    --- End diff --
    
    actually, this whole test should be rewritten to trigger the case where 
unroll evicts part of existing storage. I have some changes here 
https://github.com/andrewor14/spark/commit/78cd2be5efd14dcad4fcd648f6815d741c09694d
 that are passing tests. I'll submit a PR against your branch shortly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to