add gko mem pool switch
merge