JDK-8189798 : SA cleanup - part 1
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2017-10-23
  • Updated: 2018-01-17
  • Resolved: 2017-11-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b33Fixed
Related Reports
Relates :  
Relates :  
Description
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.