Symantec Access Management

 View Only

Tech Tip : CA Single Sign-On : JVM Garbage Collector Function in Active Expression

  • 1.  Tech Tip : CA Single Sign-On : JVM Garbage Collector Function in Active Expression

    Broadcom Employee
    Posted Sep 19, 2018 03:28 AM

    Question:


    We are running Policy Server, when an Active Expression is triggered, we'd
    like to know :

     

    - How safe it is to execute System.gc() in Active Expression within
    static synchronized block ?

     

    - Will the execution of System.gc() affect the rest of the executing
    Active Expression ?

     

    - Will it affect JVM instance running for Policy Server ?

     

    Answer:

     

    Generally there should not be any issue with explicitly calling
    system.GC, having said that this kind of test case has never been QA
    tested. Ideally the JVM should be doing the memory management.

     

    KB : KB000115316