8224579: ResourceMark not declared in shenandoahRootProcessor.inline.hpp with --disable-precompiled-headers
authorshade
Wed, 22 May 2019 10:48:46 +0200
changeset 54976 b1f070f4a4ae
parent 54975 6b976a59ee87
child 54977 ab96027e99ed
8224579: ResourceMark not declared in shenandoahRootProcessor.inline.hpp with --disable-precompiled-headers Reviewed-by: shade Contributed-by: Ao Qi <aoqi@loongson.cn>
src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp	Wed May 22 08:42:00 2019 +0100
+++ b/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp	Wed May 22 10:48:46 2019 +0200
@@ -27,6 +27,7 @@
 #include "gc/shenandoah/shenandoahHeuristics.hpp"
 #include "gc/shenandoah/shenandoahRootProcessor.hpp"
 #include "gc/shenandoah/shenandoahTimingTracker.hpp"
+#include "memory/resourceArea.hpp"
 
 template <typename IsAlive, typename KeepAlive>
 void ShenandoahWeakRoots::oops_do(IsAlive* is_alive, KeepAlive* keep_alive, uint worker_id) {