[8] RFR: Missing include precompiled.hpp in shenandoahSynchronizerIterator.cpp

Roman Kennke rkennke at redhat.com
Sun Jul 14 11:15:39 UTC 2019


Oops. Yes, of course! Thanks!

Roman


> Windows build failure with sh/jdk8:
> 
> C:\cygwin64\home\windows\worker\shenandoah-jdk8-windows\build\hotspot\src\share\vm\gc_implementation\shenandoah\shenandoahSynchronizerIterator.cpp(28)
> : warning C4627: '#include "runtime/objectMonitor.inline.hpp"': skipped when looking for precompiled
> header use
>         Add directive to 'precompiled.hpp' or rebuild precompiled header
> C:\cygwin64\home\windows\worker\shenandoah-jdk8-windows\build\hotspot\src\share\vm\gc_implementation\shenandoah\shenandoahSynchronizerIterator.cpp(78)
> : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to
> add '#include "precompiled.hpp"' to your source?
> 
> Fix:
> 
> diff -r b764cc642f13 src/share/vm/gc_implementation/shenandoah/shenandoahSynchronizerIterator.cpp
> --- a/src/share/vm/gc_implementation/shenandoah/shenandoahSynchronizerIterator.cpp      Fri Jul 12
> 10:43:53 2019 +0200
> +++ b/src/share/vm/gc_implementation/shenandoah/shenandoahSynchronizerIterator.cpp      Sat Jul 13
> 11:57:45 2019 +0200
> @@ -22,4 +22,6 @@
>   */
> 
> +#include "precompiled.hpp"
> +
>  #include "gc_implementation/shenandoah/shenandoahSynchronizerIterator.hpp"
>  #include "runtime/atomic.hpp"
> 
> 
> Testing: Linux, Windows builds; tier1_gc_shenandoah
> 



More information about the shenandoah-dev mailing list