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

G1: Improve testability of optional collections

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc

      JDK-8352508 (and probably in earlier issues as well) showed an issue with reproduceability of optional collections: there is no good way to force optional collections, making us rely on random testing.

      This is bad.

      Improve the situation; one suggestion has been to introduce a flag that always makes all old gen regions in the collection set part of optional evacuation, exercising this functionality.

      As an example this functionality could be used to create a test for JDK-8352508 that verifies optional collections in that scenario too.

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: