Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8189798

SA cleanup - part 1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 10
    • hotspot
    • b33
    • generic
    • generic

      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.

            jgeorge Jini George (Inactive)
            jgeorge Jini George (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: