GCC 4.8.3+ Does anybody aware of Stack Smashing Protection ?

Andrew Haley aph at redhat.com
Mon Jun 8 08:36:34 UTC 2015


On 05/06/15 20:31, Dmitry Samersoff wrote:
> I'm not sure it affects hotspot but should we care about it?

I'm not sure that we need it as much as C programs do.  By and large
we don't allocate variable-sized objects on the stack, and of course
there is no way for a Java programmer to do such a thing, so this
protects against a risk that we don't have.  I suppose this might
protect our users if we have a bug in the runtime code or in scalar
replacement.

Andrew.



More information about the hotspot-dev mailing list