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

Only perform this optimization for x86_64

Reviewed-by: dholmes, andrew
This commit is contained in:
Severin Gehwolf 2019-04-18 13:58:31 +02:00
parent 048c3dc026
commit fb355041ea
2 changed files with 7 additions and 3 deletions

View file

@ -827,6 +827,7 @@ void os::verify_stack_alignment() {
*/
void os::workaround_expand_exec_shield_cs_limit() {
#if defined(IA32)
assert(Linux::initial_thread_stack_bottom() != NULL, "sanity");
size_t page_size = os::vm_page_size();
/*