Relates :
|
|
Relates :
|
A test case is being developed to compare the fields and the types of the SA java classes with those of the corresponding entries in vmStructs. Some cleanup is needed as a precursor to this test case. This includes changes for: 1. Avoiding having some hotspot values being redefined in SA. Instead have those exported through vmStructs, and read it in SA. (CompactibleFreeListSpace::_min_chunk_size_in_bytes, CompactibleFreeListSpace::IndexSetSize) Redefinition of hotspot values in SA makes SA error prone, when the value gets altered in hotspot and the corresponding modification gets missed out in SA. 2. To remove some unused code (JNIid.java). 3. Add the missing "CMSBitMap::_bmStartWord" in vmStructs. 4. Modify variable names in SA and hotspot to match the counterpart names, so that the comparison of the fields become easier while testing.