RFR (XS) 8229865: Use explicit #include debug.hpp for STATIC_ASSERT in gc/shenandoah/shenandoahUtils.cpp

Zhengyu Gu zgu at redhat.com
Mon Aug 19 11:25:54 UTC 2019


Good to me.

Thanks,

-Zhengyu

On 8/19/19 2:37 AM, Aleksey Shipilev wrote:
> Bug:
>    https://bugs.openjdk.java.net/browse/JDK-8229865
> 
> Fix:
> 
> diff -r 1b6806340400 src/hotspot/share/gc/shenandoah/shenandoahUtils.cpp
> --- a/src/hotspot/share/gc/shenandoah/shenandoahUtils.cpp       Mon Aug 19 06:13:52 2019 +0200
> +++ b/src/hotspot/share/gc/shenandoah/shenandoahUtils.cpp       Mon Aug 19 08:36:45 2019 +0200
> @@ -35,4 +35,5 @@
>   #include "gc/shenandoah/shenandoahHeuristics.hpp"
>   #include "gc/shenandoah/shenandoahUtils.hpp"
> +#include "utilities/debug.hpp"
> 
>   ShenandoahPhaseTimings::Phase ShenandoahGCPhase::_current_phase = ShenandoahGCPhase::_invalid_phase;
> 
> Testing: tier1_gc_shenandoah
> 


More information about the shenandoah-dev mailing list