GNU_STACK ELF header
David.Holmes at oracle.com
Fri Aug 27 04:10:45 PDT 2010
Douglas Simon said the following on 08/27/10 16:25:
> As a result of stack overflow detection breaking in Maxine on Linux,
> I learnt about this ELF header. My experience is described here:
> Is this issue known in HotSpot/JDK? If so, how exactly is the header
> being omitted from the HotSpot and JDK libraries and executables?
I could be mistaken but I think these kinds of issues (it occurred with
exec-shield in the past - see bug 5099186) are why the Java launcher
creates the JVM in a new thread (and why we recommend custom launchers
do the same). That ways any OS machinations with the initial thread's
stack don't impact on the JVM's stack management.
More information about the hotspot-dev