Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for checkForLeaks (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/util/ResourceManagerTest.java

            createLeakyResource();
    
            // Force garbage collection
            System.gc();
            Thread.sleep(200);
    
            // Check for leaks
            resourceManager.checkForLeaks();
    
            Map<String, Object> stats = resourceManager.getStatistics();
            // The leak counter may or may not increment depending on GC timing
            assertNotNull(stats.get("totalLeaks"));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top