ibmruntimes / openj9-openjdk-jdk21

GNU General Public License v2.0
8 stars 40 forks source link

Get rid of AIX linker option: -bnorwexec #162

Open zl-wang opened 5 months ago

zl-wang commented 5 months ago

High-level: this linker option is oxymoronic with JIT environment (where executable code are generated on the fly anyway).

At least for the time being before we figured out why default codeCache is allocated through malloc (instead of mmap or shmget, for which that linker option appeared to have no effect by my tests).

Even after we figured it out eventually, it is a legitimate question what value this option provides for JIT environment.

zl-wang commented 5 months ago

In jdk21, this also has effect on FFI thunks (which are not generated in JIT codecache).