ZGC incompatible with ASan

XMLWordPrintable

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

      ZGC, at least in its default configuration on x86, is incompatible with ASan. ASan reserves 0x00007fff8000 through 0x10007fff7fff, which is roughly 2 GiB through 16 TiB. Based on src/hotspot/cpu/x86/gc/z/zGlobals_x86.cpp, ZGC requirements overlap with this memory range for layouts 1 and 2. However it looks like for layout 3 it could work. We should experiment with forcing ZGC to layout 3 when Hotspot is built with ASan or disable ZGC when Hotspot is built with ASan.

            Assignee:
            Justin King
            Reporter:
            Justin King
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: