With the change for JDK-8034079 the heapRegionSets.hpp file was removed but to make the review simpler the cpp file was kept. This is a follow-up cleanup to move the code from heapRegionSets.cpp to heapRegionSet.cpp. This was suggested in the review process for JDK-8034079.