Question: what is gclocker initiated gc?
Answer: GCLocker Initiated GC GC is triggered when a JNI critical region was released. GC is blocked when any thread is in the JNI Critical region. If GC was requested during that period, that GC is invoked after all the threads come out of the JNI critical region.