[8u] RFR 8256618: Zero: Linux x86_32 build still fails

Severin Gehwolf sgehwolf at redhat.com
Wed Nov 25 09:41:39 UTC 2020


On Wed, 2020-11-25 at 10:23 +0100, Aleksey Shipilev wrote:
> Original fix:
>    https://bugs.openjdk.java.net/browse/JDK-8256618
>    https://github.com/openjdk/jdk/commit/7b3d0958
> 
> Unlike 15u and 11u, the fix does not apply to 8u cleanly.
> 
> 8u variant:
> 
> diff -r 9cf4c59c7395 src/os/linux/vm/os_linux.cpp
> --- a/src/os/linux/vm/os_linux.cpp      Fri Dec 01 17:03:07 2017 +0100
> +++ b/src/os/linux/vm/os_linux.cpp      Wed Nov 25 10:21:37 2020 +0100
> @@ -5177,11 +5177,11 @@
>     Linux::capture_initial_stack(JavaThread::stack_size_at_create());
> 
> -#if defined(IA32)
> +#if defined(IA32) && !defined(ZERO)
>     workaround_expand_exec_shield_cs_limit();
>   #endif
> 
>     Linux::libpthread_init();

This looks fine.

Thanks,
Severin



More information about the jdk8u-dev mailing list