RFR: 8221639: [x32] expand_exec_shield_cs_limit workaround is undefined code after JDK-8199717

Andrew John Hughes gnu.andrew at redhat.com
Mon Apr 29 18:20:57 UTC 2019



On 24/04/2019 14:33, Florian Weimer wrote:
> * Severin Gehwolf:
> 
>> Hi,
>>
>> Could I please get reviews for this Linux x32 fix? JDK-8199717 added a
>> performance optimization to only capture the initial stack size when
>> launched via non-java launchers. However, on Linux x32,
> 
> Do you mean actual x32, or i386?  These two are different.
> 
> Can you actually verify changes in this area?  I think it's pretty hard
> these days to find a machine that actually uses the CS hack to avoid
> universal read-implies-exec.  I don't think this was ever part of any
> mainline kernel.
> 
> Thanks,
> Florian
> 

I don't believe OpenJDK has support for x32. At least, we've had a
ticket for it for a long time and I've never had the time to look at
getting even Zero to build on such a platform:

https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1300
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222
https://keybase.io/gnu_andrew



More information about the hotspot-dev mailing list