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.
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.
- relates to
-
JDK-8333697 C2: Hit MemLimit in PhaseCFG::global_code_motion
- Open