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

C2: investigate memory usage of IndexSet with large IR graphs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • 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.

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

              Created:
              Updated: