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

Aleksey Shipilev shade at redhat.com
Mon Aug 19 06:37:00 UTC 2019


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

-- 
Thanks,
-Aleksey



More information about the shenandoah-dev mailing list