using getter instead of trying to access private member
using int instead of unsigned int in HotSpotTest
COMP: Merge branch 'bug-16236-final-version-for-master'