Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for gc (0.01 sec)

  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"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            log.debug("Test setup completed");
        }
    
        @AfterEach
        void cleanupTest() throws Exception {
            // Simple cleanup between tests
            try {
                System.gc();
                Thread.sleep(100);
                log.debug("Test cleanup completed");
            } catch (Exception e) {
                log.warn("Failed to cleanup test", e);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  3. src/main/java/jcifs/audit/SecurityAuditLogger.java

     * - Structured JSON logging
     * - Sensitive data masking
     * - Event categorization
     * - Performance metrics
     * - Compliance-ready audit trail
     * - Asynchronous logging with bounded queue
     * - Object pooling to reduce GC pressure
     */
    public class SecurityAuditLogger {
    
        private static final Logger auditLog = LoggerFactory.getLogger("SECURITY.AUDIT");
        private static final Logger log = LoggerFactory.getLogger(SecurityAuditLogger.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top