add gil-refs
feature to aid migration
#3707
Merged
gil-refs
feature to aid migration
#3707