• Nick Terrell's avatar
    ConcurrentHashMap set size and max_size. · 66a6916f
    Nick Terrell authored
    Summary:
    During move construction and assignment `size_` and `max_size_` aren't set.
    Added a test case that attempted to allocate 4096 GB before the patch, and passes after.
    
    Reviewed By: yfeldblum
    
    Differential Revision: D7005041
    
    fbshipit-source-id: b42a0a408ce49ddded4ba805fc064cd11df2457e
    66a6916f
ConcurrentHashMap.h 14.7 KB