RFR (XS) 8221726: Multiple build failures after JDK-8221698 (Remove redundant includes from popular header files)

Thomas Stüfe thomas.stuefe at gmail.com
Mon Apr 1 04:37:11 UTC 2019


On Mon 1. Apr 2019 at 00:19, David Holmes <david.holmes at oracle.com> wrote:

> Hi Aleksey,
>
> On 1/04/2019 8:04 am, Aleksey Shipilev wrote:
> > Bug:
> >    https://bugs.openjdk.java.net/browse/JDK-8221726
> >
> > See bug for examples of build failures. Seems only ppc64le and x86_64
> {minimal, zero} are affected.
> > Happy to fold other fixes if other platforms are failing too.
> >
> > Fix:
> >
> > diff -r 7ad62bdfec59
> src/hotspot/cpu/ppc/gc/shared/barrierSetAssembler_ppc.cpp
> > --- a/src/hotspot/cpu/ppc/gc/shared/barrierSetAssembler_ppc.cpp Sun Mar
> 31 23:29:47 2019 +0200
> > +++ b/src/hotspot/cpu/ppc/gc/shared/barrierSetAssembler_ppc.cpp Sun Mar
> 31 23:52:49 2019 +0200
> > @@ -28,4 +28,5 @@
> >   #include "gc/shared/barrierSetAssembler.hpp"
> >   #include "interpreter/interp_masm.hpp"
> > +#include "runtime/jniHandles.hpp"
> >
> >   #define __ masm->
> > diff -r 7ad62bdfec59 src/hotspot/share/classfile/systemDictionary.hpp
> > --- a/src/hotspot/share/classfile/systemDictionary.hpp  Sun Mar 31
> 23:29:47 2019 +0200
> > +++ b/src/hotspot/share/classfile/systemDictionary.hpp  Sun Mar 31
> 23:52:49 2019 +0200
> > @@ -31,4 +31,5 @@
> >   #include "oops/symbol.hpp"
> >   #include "runtime/java.hpp"
> > +#include "runtime/mutexLocker.hpp"
> >   #include "runtime/reflectionUtils.hpp"
> >   #include "runtime/signature.hpp"
>
> I'm struggling to see what changes in JDK-8221698 led to these problems,
> but the fixes certainly look totally appropriate. I also think this
> constitutes a trivial change and can be pushed with one Review andnot
> wait 24 hours. (If there are any issues I'll sort them out if needed.)
>
> Aside: are there any tools that will show where a particular declaration
> is being included from? We've obviously got some interesting transitive
> closures with conditional includes.
>

I think it would be helpful if we could have at least one zero build (eg
x64) in jdk-submit.

..thomas


> Thanks,
> David
>
> > Testing: Linux x86_64 {server, minimal, zero}, ppc64le builds
> >
> > Thanks,
> > -Aleksey
> >
>


More information about the hotspot-runtime-dev mailing list