[patch] Fix oddity in personality routine
Boehm, Hans
hans.boehm@hp.com
Thu Dec 3 19:18:00 GMT 2009
> From: Jack Howarth
> Do you think that -Wl,-allow_stack_execute needs to be
> passed even more widely than on just ecjx_LDFLAGS? Any
> suggestions as to where I should be passing it? Perhaps on
> something like LIBJAVA_LDFLAGS_NOUNDEF at the toplevel of
> libjava? Or should we even be building libffi and boehm-gc
> with that as well?
> Jack
>>I haven't been following this completely, but:
The GC also has a compile-time flag NO_EXECUTE_PERMISSION, which affects heap executability. I think the documentation says that this only affects incremental collection, but looking at the code, I'm not sure I believe that anymore. I think it generally affects whether memory allocated with mmap is made executable, and we've been doing more and more of that.
Hans
More information about the Java
mailing list