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

ZGC: Add support for GuardMalloc with ZGC on mac

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              eosterlund Erik Ă–sterlund
              Reporter:
              eosterlund Erik Ă–sterlund
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: