Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-2011

Do not use RangeSet in serialization

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 3.0.13, 4.0.6, 2.0.10
    • None
    • clustering
    • None

      We have switched to using UnsignedLongSet to track identifiers, which improves our memory footprint and performance in CONTROLLER-1720.

      Our in-memory metadata formats are still using ImmutableRangeSets, which require additional indirection and conversion. They are also prone to allocating large arrays when they become large, which does not play nice with G1GC.

      Split out UnsignedLongSet to a Mutable and Immutable implementation, where the Immutable version can be serialized/deserialized using the same serialization format as we use for RangeSets.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: