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

Remove ExecMem constant

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 16
    • 16
    • hotspot

      ExecMem is defined in os.hpp as:

      // Executable parameter flag for os::commit_memory() and
      // os::commit_memory_or_exit().
      const bool ExecMem = true;

      and only ever used as "!ExecMem" in calls to os::commit_memory().

      Maybe it did something in the past. Now it just seems to be a complicated way to say "false". So we should say "false".

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: