replace usage of model.getGCEvents() by model.getStopTheWorldEvents()