ZGC: Add support for GuardMalloc with ZGC on mac

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • tbd
    • Affects Version/s: 14
    • Component/s: hotspot
    • gc

      DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib java -XX:+UnlockExperimentalVMOptions -XX:+UseZGC
      GuardMalloc[java-3115]: Allocations will be placed on 16 byte boundaries.
      GuardMalloc[java-3115]: - Some buffer overruns may not be noticed.
      GuardMalloc[java-3115]: - Applications using vector instructions (e.g., SSE) should work.
      GuardMalloc[java-3115]: version 109
      [0.373s][error][gc] Failed to reserve enough address space for Java heap
      [0.373s][error][gc] Failed to reserve address space for virtual backing file
      [0.373s][error][gc,marking] Failed to reserve address space for mark stacks
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

            Assignee:
            Unassigned
            Reporter:
            Erik Ă–sterlund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: