Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8340695 GenShen: Clean up failing tests
  3. JDK-8342570

gc.*.gcUntilOld() assumes that full gc always promotes objects to old generation in a generational heap

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • repo-shenandoah
    • hotspot
    • gc

      gcUntilOld() in the following classes makes a very strong assumption that full gc's will eventually promote an arbitrary object to the old generation. This assumption may be too strong for some collectors, and should not therefore be needed in all of our tests. Specific collectors that would like to test for this property should continue to rely on that assumption, but other collectors that do not need that property to hold should not need to satisfy that assumption.

      The following test classes are affected:

      gc.TestReferenceRefersTo
      gc.TestRerefenceRefersToDuringConcMark
      gc.TestJNIWeak.TestJNIWeak

      gc.shenandoah.TestReferenceRefersToShenandoah

            ysr Y. Ramakrishna
            ysr Y. Ramakrishna
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: