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

ZGC incompatible with ASan

XMLWordPrintable

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

            jcking Justin King
            jcking Justin King
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: