fix performMajorGC