private void cleanGcObjects() throws Throwable {
        Reference<? extends IObject> object;
        while (true) {
            object = gcObjectRefQueue.poll();
            if (object == null)
                break;
            else
                gcObjects.remove(object);
        }
    }
Remove all method which does not destruct

@throws Throwable
jphp-runtime/src/php/runtime/env/Environment.java