Use gsharedvt for some generic instances in full-aot mode to avoid code blowup.