C2: investigate memory usage of IndexSet with large IR graphs

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 24
    • Component/s: hotspot

      This is related to:
      https://bugs.openjdk.org/browse/JDK-8333697
      I have a fix that pushes memory usage below 1GB but it's still 800MB. I noticed 300MB is taken by the IndexSet data structure which is a 2 level bitmap (an array of pointers to lazily allocated array of bitmaps). The compilation also has a lot of nodes (100K). I'm wondering what would happen if the IndexSet data structure has 3 levels instead of 2 when there are a lot of nodes.

            Assignee:
            Roland Westrelin
            Reporter:
            Roland Westrelin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: