1. 22 4月, 2015 6 次提交
  2. 21 4月, 2015 1 次提交
  3. 20 4月, 2015 12 次提交
  4. 19 4月, 2015 6 次提交
  5. 18 4月, 2015 2 次提交
    • S
      Use SoftReferences for context caching in the TCF · 0cb22fc8
      Sam Brannen 提交于
      Prior to this commit, the ContextCache in the Spring TestContext
      Framework (TCF) cached ApplicationContexts in a ConcurrentHashMap using
      strong references. This practice can occasionally lead to
      OutOfMemoryErrors when running a large number of tests in a test suite
      with varying context configuration since the context cache becomes
      overpopulated over time.
      
      This commit addresses this issue by using Spring's
      ConcurrentReferenceHashMap which uses SoftReferences for both the keys
      (i.e., MergedContextConfiguration instances) and values (i.e.,
      ApplicationContexts) stored in the map that backs the ContextCache.
      
      Issue: SPR-7687
      0cb22fc8
    • S
      Introduce reset() method in ContextCache · 2a4f4cd2
      Sam Brannen 提交于
      2a4f4cd2
  6. 17 4月, 2015 13 次提交